This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: tag/element count
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] tag/element count
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Thu, 12 Jul 2001 12:21:39 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Devan,
count(//TEMP) comes to mind.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Devan
>Govender
>Sent: 12 July 2001 11:45
>To: xsl-list@lists.mulberrytech.com
>Subject: [xsl] tag/element count
>
>
>I would like to know how many times tag/element exists in my xml
>document
>
>eg.
>
><TEMP>
> test
></TEMP>
><TEMP>
> test1
></TEMP>
>
>this would be a count of 2....
>
>
>--
>"I count religion but a childish toy, and hold there is no sin but
>ignorance." -Christopher Marlowe, 1592
>
>"HEAVEN does'nt want me & HELL is afraid I'll take over"
>
>DEVAN GOVENDER
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list