Subject: Re: xsl: descendent count? From: Miloslav Nic <nicmila@xxxxxxxx> Date: Thu, 16 Sep 1999 11:07:04 +0200 |
count(//CHAPTER/*) smoghe@xxxxxxxxxxxx wrote: > > 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 -- *************************************************************** Dr. Miloslav Nic e-mail: nicmila@xxxxxxxx Department of Organic Chemistry TEL: +420 2 2435 5012 ICT Prague (VSCHT Praha) +420 2 2435 4118 FAX: +420 2 2435 4288 **************************************************************** XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xsl: descendent count?, David Carlisle | Thread | RE: xsl: descendent count?, Kay Michael |
RE: descendent count?, Linda van den Brink | Date | RE: How to use xslt to transform xm, Kay Michael |
Month |