[Home] [By Thread] [By Date] [Recent Entries]
Yes, you are so right (how do you know what I meant if I didn't know!?!? :)
But here is also the problem: Let say we have another XML: <root> <some_tag/> <line> <a/> <b/> </line> <line> <a/> <b/> - we are here </line> <root> In your example select="count(../preceding-sibing::* + 1)" we get 3 because it will count "some_tag" too. But we need to count only "line" elements. How we can solve this problem? Jenya David Carlisle writes:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



