This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:variable question
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 09:57:54 -0000
- Subject: RE: [xsl] xsl:variable question
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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