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

Subject: Re: counting question
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 9 Jan 2002 00:12:40 -0700 (MST)
Jo Bourne wrote:
> I am wanting to count all the child elements of a particular element

XPath has a count() function.

count(*) will return the number of child elements of the current node.

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/

 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