Subject: Re: ### Outputting the "full path". Is this possible ?? ###
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 26 May 2000 15:16:47 +0100 (BST)
|
but what if an element contains a sequence of elements, such as
<departments>
<employees>
<name>Joe Shmo</name>
<name>Bob Shmo</name>
</employees>
</departments>
<xsl:for-each select="(ancestor-or-self::*)"
>/*[<xsl:value-of select="1+count(preceding-sibling::*)"/>]</xsl:for-each>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|