E
eric.goforth
In an xsl stylesheet, I have
<xsl:when test="string-length(//mystuff) > 0">
<xsl:attribute name="someattribute">blahblahblah</xsl:attribute>
</xsl:when>
In the xml that mystuff is several layers deep, does the // do a search
in the xpath?
<test>
<another_level>
<mystuff>testing123</mystuff>
</another_level>
</test>
<xsl:when test="string-length(//mystuff) > 0">
<xsl:attribute name="someattribute">blahblahblah</xsl:attribute>
</xsl:when>
In the xml that mystuff is several layers deep, does the // do a search
in the xpath?
<test>
<another_level>
<mystuff>testing123</mystuff>
</another_level>
</test>