[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

xsl: descendent count?


Subject: xsl: descendent count?
From: smoghe@xxxxxxxxxxxx
Date: Thu, 16 Sep 1999 13:45:17 +0530

Hi,

Can anybody tell me; How can I get CHILDREN count of an element.
e.g.
Source Tree
<CHAPTER>
     <PARA>
     <PARA>
     <PARA>
</CHAPTER>

<xsl:template match="CHAPTER>
</xsl:template>

In above situation, how can I write XSL such that, when I'm in CHAPTER
element, I'm able to find out,
How many child elements are there?

Thanx, in advance.

########################################
Surendra Moghe
Ditools Software (India) Pvt. Ltd.
smoghe@xxxxxxxxxxxx
########################################



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



Current Thread
Keywords
xsl