|
Subject: [xsl] How to find out the level of an element From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx> Date: Thu, 08 Dec 2005 09:54:55 +0000 |
<a>
<b>
<c>
</c>
</b>
</a><a>
<b>
<c>
</c>
</b>
</a><xsl:variable name="LastLevel">
<xsl:for-each test="//c[1]">
<xsl:value-of select="count(ancestor::a | ancestor::b)" />
</xsl:for-each>
</xsl:variable>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Attribute value (...when , David Carlisle | Thread | RE: [xsl] How to find out the level, Arun Sinha |
| RE: [xsl] Encoding problem or what , Michael Kay | Date | RE: [xsl] How to find out the level, Arun Sinha |
| Month |