xsl-list
[Top] [All Lists]

Best way to count siblings

2004-12-15 10:47:15
Is this the best way to count siblings?

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>