xsl-list
[Top] [All Lists]

RE: setting variables in xslt

2002-11-21 03:10:08
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 



-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Stevenson Ngila
Sent: 21 November 2002 08:29
To: Xsl-List(_at_)Lists(_dot_) Mulberrytech. Com
Subject: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>