This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: counting question
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 9 Jan 2002 00:12:40 -0700 (MST)
- Subject: Re: [xsl] counting question
- Reply-to: xsl-list at lists dot mulberrytech dot com
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