This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I have two Dom objects from two different xml docs. Both the xml docs are of same Schema. But the contents of the two objects could be Same/Diff/Node might be in diff order. I need to compare these two objects and identify if they are same or diff. Can Some one tell me the best approach for this. eg: <root> <node1/> <node2/> </root> <root> <node2/> <node1/> </root> Even though the nodes 1 and 2 are in diff order the data are similar in these two xml docs. So when I compare the result shd be "Both xml docs are equal"