xsl-list
[Top] [All Lists]

msxml xpath problem

2003-07-02 02:42:59

Can anyone tell me why this:
<xsl:value-of select="child::*[2][name()='arg']"/>
and this <xsl:value-of select="child::*[2]"/>
returns the value of the second child, the name of which is arg while
this
<xsl:value-of select="child::arg[2]"/>
and this
<xsl:value-of select="arg[2]"/>, all in the same template does not. Note
that the last example did return the value at one point but somehow the
context seems to have been lost. There are no templates overriding the
template dealing with this anywhere in my import chain. Is there a bug
with msxml anywhere that would explain such loss of context?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list