排序和比较XML的文件

时间:2019-03-26 08:51:49

标签: java

我需要比较差异文件夹中的两个XML,并获得所有差异的报告:path,value...。 我没有xslt或键,结构也不规则,所以比较应该更复杂:

1 - element <path><element> not exist in File 2
2 - Value <Value file 1 >is difference in File 2 <Value file 2>
3 - element <path><element> not exist in File 1 

我尝试了xmlunit +在其他网站上搜索这种解决方案,但是我仍然坚持使用它。 有人可以帮我吗?

谢谢

0 个答案:

没有答案