This has been bothering me for days. I just need to find out what are the missing nodes in the second xml by comparison. I tried xmlunit but it doesn't really help me find the missing node since it compares line by line. two sample xml below: xml1:
<test testcase="101">
<value="1">
<value="2">
<value="3">
</test>
xml2:
<test testcase="101">
<value="3">
<value="2">
</test>
Note that value=3 is actually there in the second copy it just get to the first node but still I consider it's not missing. how do i find the missing node value="1"?