This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Redefinition of a variable


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]