This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl:variable question
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 11:52:42 -0500
- Subject: Re: [xsl] xsl:variable question
- References: <004701c18948$bde97990$465169d5@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
[Michael Kay]
> > In the second, you try to assign a
> > nodeset consisting of elements named "1", which of course
> > cannot exist since
> > it would be illegal for an element name.
>
> Nonsense. "1" is a valid XPath expression, which evaluates to the number
1,
> so <xsl:variable name="x" select="1"/> is perfectly legal.
>
Yup, I looked in the Rec and I see it ... my error.
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list