/ Published in: XSLT
Expand |
Embed | Plain Text
<xsl:template name="getValue"> <xsl:param name="tagId"></xsl:param> <xsl:choose> <xsl:when test="normalize-space(//item[@id=$tagId]) != ''"> <xsl:value-of select="string(//item[@id=$tagId])"/> </xsl:when> <xsl:otherwise> Tag is empty </xsl:otherwise> </xsl:choose> </xsl:template>
You need to login to post a comment.
