This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Why not iterate through the NodeList from high to low?
Joined: May 05, 2012
William Brogden wrote:Why not iterate through the NodeList from high to low?
Try it for your self ,it still would be in incorrect order . Furthermore ,as I said ,I need to make to code work with every query , meaning
that there are queries where we'd need no reverse - hence there is no need to iterate through the NodeList from high to low - if you do that , the answer would be incorrect !!
I'd appreciate any suggestions . thanks
Author and all-around good cowpoke
Joined: Mar 22, 2000
If you want absolute control then work with the DOM directly using the standard library instead of XPath.