[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] counting question


Subject: Re: [xsl] 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
Keywords