This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tag/element count



 Hi Devan,

 you can use:

  count(//temp)


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]