XSL patterns give me a node--how can I find it's position?
I am using the (IE5) XML DOM to search for a particular node.
I use a pattern like this:
It correctly finds a match. Now my question is, how do I determine the position of the found book in "books"? bnum is not in sequential, nor is it in order. I need to know which book it is within the books.childNodes NodeList.
Do I have to step through every element of books.childNodes and match it myself?
Thanks in advance,
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