|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Position of a Child
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








