[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL variable...
> You need to declare a single variable, and set its value > conditionally: > > <xsl:variable name="wasLeft"> > <xsl:choose> > <xsl:when test="some condition">0</xsl:when> > <xsl:otherwise>1</xsl:otherwise> > </xsl:choose> > </xsl:variable> Really? Does this mean that a variable is evaluated every time it is accessed? I thought it was evaluated when it was defined, and then static while in scope. -- Thorbjørn XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|