This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: : Setting the value of variables, conditionally.
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl]: Setting the value of variables, conditionally.
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Sat, 14 Jul 2001 12:15:45 +0100
- References: <98F83CC90938D5118CEA0002B30CDE5A022F0F@DEJIMAEXCH>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <xsl:variable name="globalVar1">DEFAULTVAL1</xsl:variable>
once you've assigned a variable a value you can not change it.
This is the most basic FAQ (and a universal feature of functional
programming languages) so your later code to change these values can not
work.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list