|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: counting the number of following siblings
> I am trying to write a function that tests that the current > node is of type > D and that the number of following D type nodes is greater > than 3. Something > like this: > > <xsl:when test="./@type='D' and > count(following-sibling::faostat:table-row[1]/@type='D')>3"> > Try count(following-sibling::faostat:table-row[@type='D']) I've no idea what the [1] was doing there. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








