[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Counting nodes
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Fri, 25 Aug 2000 09:18:54 +0100
Use the count() function in XPath:

<numberofcells>
  <xsl:value-of select="count(//cell[@type != ''])"/>
</numberofcells>


Ben


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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member