Subject: RE: [xsl] Position of a Child From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Fri, 21 Sep 2001 08:14:00 +0100 |
> I reference the child by its name (stored in a variable), like this: > > <xsl:value-of select="*[name()=$NodeName]"/> > > What I would like to get is the position of that child inside > the context > node. > I don't seem to find the correct syntax for this. > count(preceding-sibling::*)+1 Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Position of a Child, Jörg Heinicke | Thread | Re: [xsl] Position of a Child, Wendell Piez |
RE: [xsl] get parameter from xalan , Jarno . Elovirta | Date | RE: [xsl] xpath expression needed, Michael Kay |
Month |