[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Assigning variable values


Subject: Re: [xsl] Assigning variable values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 25 May 2002 17:51:22 +0100


       <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



Current Thread