Subject: Re: xsl:variable question
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 20 Dec 2001 11:52:42 -0500
|
[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
|