Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在测试方法中测试 XML 文件及其属性。每次生成 XML 时,属性的顺序都不同。我想检查 XML 及其属性值,它们是否重复?你能告诉我最好的方法吗?
可能这个可以帮助你
http://msdn.microsoft.com/en-us/library/aa302294.aspx
以及我在 StackOverFlow 上发现的类似问题:
比较 2 个 XML 文件