Subject:How to check for null value in an xsl file Author:Minollo I. Date:15 Sep 2005 05:32 PM
I'm not sure what you mean with "null value"; what is a null value in XML? 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>