If you want to check if an element exists, you can do...
<xsl:if test="/A/B/C">...</xsl:if>
That will test if the C element exists.
If you want to check if an element has empty content, you can do...
<xsl:if test="/A/B/C=''">...</xsl:if>
Wednesday, October 21, 2009
Check for null value in XSL File
Labels:
xsl
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment