[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] tag/element count
Subject: RE: [xsl] tag/element count From: Bedwell Tom <Tom.Bedwell@xxxxxxx> Date: Thu, 12 Jul 2001 12:13:46 +0100 |
use the count() function eg <xsl:value-of select="count(TEMP)"/> -----Original Message----- From: Devan Govender [mailto:Devan.Govender@xxxxxxxxxxxxxxxxxxx] Sent: 12 July 2001 11:45 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] tag/element count, Michael Schafer | Thread | [xsl] how: nbsp;?, Åsa [asplistan] |
AW: [xsl] tag/element count, Michael Schafer | Date | [xsl] how: nbsp;?, Åsa [asplistan] |
Month |
Keywords