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,659
  • 7
  • 35
  • 40

1 Answers1

0

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

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
Florian Huonder
  • 461
  • 1
  • 7
  • 17