[xsl] Best way to count siblings

Subject: [xsl] Best way to count siblings
From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Dec 2004 10:47:15 -0700
Is this the best way to count siblings?

<xsl:value-of select="count(preceding-sibling::* | following-sibling::*)"/>

Current Thread