简体   繁体   English

如何找到两个XML文档之间的差异

[英]How to find difference between two XML documents

I want to compare two XML documents to find and show where is the difference 我想比较两个XML文档来查找和显示区别
like diff utility in XCode. 喜欢XCode中的diff实用程序。

I can retrieve and parse xml code using NSXMLParser in basic level, 我可以在基本级别使用NSXMLParser检索和解析xml代码,
and can tell 'they are not exactly same' 并且可以说'他们不完全相同'

but I don't know how to tell 'where and which'. 但我不知道如何分辨'在哪里和哪个'。

Is there any open-source based library for this? 有没有基于开源的库?

Thanks in advance. 提前致谢。

Try following link XML Documents 请尝试以下链接XML文档

also try this 尝试这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM