A
Andy Fish
consider the following fragment of xsl:
<xsl:variable name="v1"><xsl:if test="false()"/></xsl:variable>
<xsl:variable name="v2"></xsl:variable>
<xsl:value-of select="boolean($v1)"/>
<xsl:value-of select="boolean($v2)"/>
it returns true for v1 but false for v2. (I'm using microsoft .net 1.1)
how so? presumably v1 is a non-empty node set but I don't see how it could
have any nodes in it.
Andy
<xsl:variable name="v1"><xsl:if test="false()"/></xsl:variable>
<xsl:variable name="v2"></xsl:variable>
<xsl:value-of select="boolean($v1)"/>
<xsl:value-of select="boolean($v2)"/>
it returns true for v1 but false for v2. (I'm using microsoft .net 1.1)
how so? presumably v1 is a non-empty node set but I don't see how it could
have any nodes in it.
Andy