Archive for category XML/XSL/XSLT
Check if the node exists in the xsl
Posted by gullele in XML/XSL/XSLT on April 1, 2011
To check if the specific node exists in the tree or not in the xsl:
<xsl:choose>
<xsl:while test="path/to/node/to/check !=''">
<xsl:value-of select = "path/to/node/to/check" />
</xsl:while>
</xsl:choose>