RE: Redefinition of a variable

Subject: RE: Redefinition of a variable
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 28 Sep 2000 13:16:25 +0100
> What I'm doing is to use
> 
> ...
> <xsl:variable name="temp" select="'somestring'"/>
> ...
> <xsl:variable name="temp" select="'someotherstring'"/>
> ...
> >    Is what I'm doing "legal"? 

No. It's an error to declare a local variable "temp" when there is already
another local variable "temp" in scope, and a conformant processor is
required to report the error.

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread