[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: counting question

Subject: Re: counting question
From: "Martijn" <rootroot@xxxxxxxxx>
Date: Wed, 9 Jan 2002 08:10:00 -0800
Re:  counting question
count(descendant::*[1]) ?

----- Original Message -----
From: "Jo Bourne" <venus@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, January 08, 2002 22:57
Subject:  counting question

> Hi,
> I am wanting to count all the child elements of a particular element and
treat them one way if there is only one child and another if there are
multiple. Is the best way to do this to test if the child is both first and
last or is there some other more sensible method?
> cheers
> Jo
>  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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.