This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Counting nodes


<xsl:value-of select="count(item[position() &lt; 6][@cheked='true'])"/>

Joerg

----- Original Message -----
From: "Carlos Durand Silvestrin" <csilvestrin@gfmi.com.br>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, October 18, 2001 9:38 PM
Subject: [xsl] Counting nodes


>
> Hello everybody,
>
> Look the example below, I want to know how do I get the number of nodes
that
> has the true attribute("cheked") for position 0 to 5?
>
> <item cheked="true"/>
> <item cheked="false"/>
> <item cheked="false"/>
> <item cheked="true"/>
> <item cheked="true"/>
> <item cheked="false"/>
> <item cheked="true"/>
>
> Durand


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]