[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Best way to count siblings
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Wed, 15 Dec 2004 09:18:01 +0200
Hi,

> Is this the best way to count siblings?
>
> <xsl:value-of select="count(preceding-sibling::* |
> following-sibling::*)"/>

Or e.g.

  count(../*) - 1

Cheers,

Jarno

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member