This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xsl:variable question


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]