Well, when i say it's a bug i'm basing myself on the fact that i've
tryed my xslt with MSXML3, MSXML4, Xalan, Saxon6.5.3, Saxon8.1B,
Xsltproc, and using Javascript /Sarissa DomDocument.transformNodeTo
Object and XSLTProcessor.transformToDocument and this problem occurs
ony when using this last one. But what do i know...
The $pos is defined like
<xsl:param name="pos" select="0"/>
and i'm passing the value from Javascript
The sugestion from Jonis also work OK
<xsl:variable name="snode" select="(//Menu)[number($pos)]"/>
Regards.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--