Subject: count following-sibling node()
From: "Karl Stubsjoen" <kstubs@xxxxxxxxx>
Date: Thu, 13 Nov 2008 21:57:24 -0700
|
Assuming the context is:
EVENT[6]
And there are 10 EVENT elements.
Why am I getting different results for the following counts:
<xsl:value-of select="count(following-sibling::EVENT)"/>
<xsl:value-of select="count(following-sibling::node())"/>
Assume the following XML:
<ROOT>
<EVENT />
<EVENT />
<EVENT />
<EVENT />
<EVENT />
<EVENT />
<EVENT />
<EVENT />
<EVENT />
<EVENT />
</ROOT>
|