|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:variable question
Hello,
I have a construction which looks as following:
<xsl:variable name="tree-structure-new-branch">
<xsl:choose>
<xsl:when test="not(position()=last())">
<img width="16" height="16"
alt="Der Zweig geht nachher noch weiter"/>
</xsl:when>
<xsl:otherwise>
<img width="16" height="16" alt="Der Zweig endet hier"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
I have traced through this piece of code, it seems to follow my xml tree
well. But the variable I define here is empty after leaving this xsl
structure. Why? What should I change to store that img element in the
variable?
Regards,
Kai
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








