RE: [xsl] xsl:variable question

Subject: RE: [xsl] xsl:variable question
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 20 Dec 2001 09:57:54 -0000
> 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.

Mike Kay


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


Current Thread