This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Position of a Child


Hi all,

I'm having problems getting the child's position() of the context node.
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.

Thanks in advance,
Frank.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]