开发者

how to compare part of xml to a part of another xml? [duplicate]

开发者 https://www.devze.com 2023-03-26 22:37 出处:网络
This ques开发者_StackOverflow中文版tion already has answers here: Closed 11 years ago. Possible Duplicate:
This ques开发者_StackOverflow中文版tion already has answers here: Closed 11 years ago.

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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号