You can't modify variables in XSLT, it is a declarative language.
This is a FAQ, and the answer is always the same: tell us what problem
you are trying to solve, so we can tell you how you should be tackling
it.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Stevenson Ngila
> Sent: 21 November 2002 08:29
> To: Xsl-List@Lists. Mulberrytech. Com
> Subject: setting variables in xslt
>
>
> if i have:
>
> <><><><><><><><><><><><><><><><><><><><><><><><>
> <xsl:when test="$iTimeZoneOffset= '-1'">
>
> </xsl:when>
> <><><><><><><><><><><><><><><><><><><><><><><><>
>
> how can i set $iTimeZoneOffset to another variable say iCurrentOffset
>
>
> Thanks,
> Stevenson Ngila
> Footman-Walker Associates Ltd
> http://www.footman-walker.co.uk
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|