0

Possible Duplicate:
Best way to compare 2 XML documents in Java

in java, I have 2 xml files, with different root elements. I know that a part of the first onbe equals to a part of the second one. what is the best way to compare?

thanks.

Community
  • 1
  • 1
AAaa
  • 3,349
  • 7
  • 33
  • 39

1 Answers1

0

I would suggest to try with XMLUnit - http://xmlunit.sourceforge.net/

Thorbjørn Ravn Andersen
  • 71,889
  • 31
  • 184
  • 335
Florian Huonder
  • 431
  • 1
  • 7
  • 17