[Home] [By Thread] [By Date] [Recent Entries]
Hi All,
I need another help. I need value mapping when a value in the subelement is matched with some value string. xml instance: <audience> <toolfor scheme="GEM"> Students </toolfor> My xslt: <xsl:template match="audience"> <xsl:for-each select="audience/beneficiary[@scheme='GEM']"> <xsl:choose> <xsl:when test=". = 'Students'"><gemq:beneficiary rdf:resource="http://purl.oclc.org/gem/instance/GEM-BEN/#Students"/></xsl:when> </xsl:choose> </xsl:for-each> </xsl:template> Could you give me some help? I would be appreciated. Thanks a lot, Best regards, Oknam Park
|

Cart



