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]

RE: looping


> 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:  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]