Re: Counting preceding-siblings with a different paren
>perhaps you want to count your preceding siblings and your precedingcousings (ie, the children of your parent's preceding-siblings)count(preceding::*) + count(../preceding::*/*)
Yes that was it.
In the hope to prevent mistakes when you try the above after your coffe, David probably meant:
count(preceding-sibling::*) + count(../preceding-sibling::*/*)
Cheers and good morning, Geert
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