RE: looping

Subject: RE: looping
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 28 Nov 2000 15:51:23 -0000
> Wouldn't <xsl:param name="start-val" select="0"/> cause the 
> parser to search for a child named "0" within the context node? 

No. The XPath expression "0" parses as a single token which is a number, so
the value of the expression is a number. The expression doesn't match the
production for a QName, because a QName has to start with a letter.

Mike Kay

 XSL-List info and archive:

Current Thread