Drau1 0 Newbie Poster

Hello ,
So ive been given an assignement in my university of "fixing" XPath and get it to return the nodes in the correct order.

Ive been trying to find a way around writing a very long code and breaking each expression into little peaces and putting it back together again.

Ive thought of a few ideas but i need help making them happen :)

  1. Find the method in the XPath jar that sorts the nodes and delete it - problem is i dont know if its possible to see the XPath jar code , and didnt find it online.- if you can point me to it , that would be great !

  2. Ive found this option which looks like it should do the trick
    http://cafeconleche.org/books/xmljava/chapters/ch16s06.html
    but it demands dom implementation of XPath 3.0
    and i cant find that dom anywhere - any idea if there is such thing ?

  3. If you have any other idea i would love to hear !

Thank you for all your help :) !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.