This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: change the variable value
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] change the variable value
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 15 Jun 2001 10:32:40 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> i want to change the variable value during the processing of xsl; when
> different templates processing.
> can anybody give me a solution?
You need to unlearn the bad old habits of procedural programming! You can't
update variables. There are other and better ways to solve your problem.
Read Chapter 8 of my XSLT Programmer's Reference (Chap 9 in the 2nd
edition).
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list