This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Assigning variable values
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 25 May 2002 17:51:22 +0100
- Subject: Re: [xsl] Assigning variable values
- References: <20020524181835.59604.qmail@web21002.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<xsl:otherwise>
<xsl:variable name="teste" select="$um"/>
</xsl:otherwise>
the scope of a variable binding is the surrounding element so in that
case the scope ends at the /xsl:otherwise. So there is nowhere in the
rest of teh program that sees the new value.
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