This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: using global variables in templates
- From: TSchutzerWeissmann at uk dot imshealth dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 12 Sep 2002 09:58:48 +0100
- Subject: RE: [xsl] using global variables in templates
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Peter
> I want to store a value in a global variable each time a template is
> executed. I need this value when the template is executed the
> next time. Is
> there a way to do this.
You're essentially asking if you can reassign variable values
in xslt and the answer to that is no. Variables in xslt are set once
and that's it.
On the other hand, there's bound to be an xslt way of doing
what you want, perhaps using recursion. What is it you want to do?
TOm
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list