Subject: RE: [xsl] setting variables in xslt From: Jarno.Elovirta@xxxxxxxxx Date: Thu, 21 Nov 2002 10:53:26 +0200 |
Hi, > if i have: > > <><><><><><><><><><><><><><><><><><><><><><><><> > <xsl:when test="$iTimeZoneOffset= '-1'"> > > </xsl:when> > <><><><><><><><><><><><><><><><><><><><><><><><> > > how can i set $iTimeZoneOffset to another variable say iCurrentOffset You can't, variables as immutable in XSLT. Instead, you could e.g. set a variable $_iTimeZoneOffset based on the test to either $iTimeZoneOffset or $iCurrentOffset. Jarno - Blutengel: Seelenschmerz XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] setting variables in xslt, Michael Kay | Thread | RE: [xsl] Element value, Jarno . Elovirta |
[xsl] XSL-FO Wysiwyg designer, Thomas V. Nielsen | Date | RE: [xsl] Element value, "Brož Jiří, Ing. 110 |
Month |