compare 2 xmls with different tags in java

hellogoodbye

New Member
I wanted to compare 2 XMLs, which have the same data but the tag names are different. I need to compare two (input and output) and show the result using JAVA.eg.XML 1\[code\]<hometown>newyork</hometown>...\[/code\]XML 2\[code\]<city>newyork</city>\[/code\]I need to verify that the \[code\]hometown\[/code\] tag value from XML 1 is same as the \[code\]city\[/code\] tag value from XML 2.Does anyone have any suggestions?
 
Back
Top