[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] count following-sibling node()
Subject: [xsl] 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>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Global namespace prefixes, Michael Kay | Thread | Re: [xsl] count following-sibling n, Jesper Tverskov |
Re: [xsl] XPath / XSLT 2.1 - Roundi, Peter Rushforth | Date | Re: [xsl] Global namespace prefixes, Nathan Potter |
Month |