|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A position question
Haque, Suraiya wrote: > I would like to find the positions of the elemB elements with id="11". I can > get the next one by following-sibling::elemB[@id="11"], but I don't know how > to find it's position in the context node. Any suggestions? Compute it by yourself - just count all preceding siblings: count(preceding-sibling::node()) + 1 -- Oleg Tkachenko Multiconn International, Israel 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








