Subject: [xsl] msxml xpath problem From: "bryan" <bry@xxxxxxxxxx> Date: Wed, 2 Jul 2003 11:42:59 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Beginning XSLT availability (Was: R, Jeni Tennison | Thread | Re: [xsl] msxml xpath problem, David Carlisle |
Re: [xsl] Netscape7.1 bug or bad co, N Y | Date | Re: [xsl] Which one's faster, David Carlisle |
Month |