This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: counting question
- From: "Martijn" <rootroot at xs4all dot nl>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 9 Jan 2002 08:10:00 -0800
- Subject: Re: [xsl] counting question
- References: <a05100313b86199f46823@[203.15.106.241]>
- Reply-to: xsl-list at lists dot mulberrytech dot com
count(descendant::*[1]) ?
----- Original Message -----
From: "Jo Bourne" <venus@va.com.au>
To: <xsl-list@lists.mulberrytech.com>
Sent: Tuesday, January 08, 2002 22:57
Subject: [xsl] 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