RE: [xsl] tag/element count

Subject: RE: [xsl] tag/element count
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 12:45:18 +0100
> 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....


count(//*) for all elements
count(//TEMP) for TEMP elements

Mike Kay
Software AG 

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


Current Thread