This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Redefinition of a variable
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Redefinition of a variable
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 28 Sep 2000 13:16:25 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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