RE: Comparing node for identity using union
> Well, just for the record, i solve my problem, by using > > <xsl:variable name="snode" select="(//Menu)[position()=$pos]"/> > > instead of > > <xsl:variable name="snode" select="(//Menu)[$pos]"/> > > A million neurones i burn to reach this solution!!! > > This seems clearly a bug in XSLTProcessor, does anyone knows where can > i submit this? Did you show us the declaration of the variable $pos? If it's a string or a result tree fragment, then the two expressions are not equivalent. They are only equivalent if it is a number. There is a note in the XSLT 1.0 specification warning you of this. Michael Kay http://www.saxonica.com/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format