开发者

C#: Comparing xml schema files

开发者 https://www.devze.com 2023-01-11 07:27 出处:网络
I\'ve been tasked to compare two XML schema files in C# and present differences between the two in an output XML document. I\'ve researched the subject a bit to find a tool that could help me do this,

I've been tasked to compare two XML schema files in C# and present differences between the two in an output XML document. I've researched the subject a bit to find a tool that could help me do this, but so far I've come up pretty dry.

There's a dead microsoft project on the subject that actually works pretty well called XML Diff 开发者_高级运维and Patch GUI Tool which I'll probably end up using...but this project is six years old, subject to terrible linkrot and limited documentation and so can't possibly be the best solution.

Any suggestions?


You want to compare schemas; an older version of the idea is comparing DTDs.

You might find this answer useful: How can I determine if a given DTD a subset of another?

While that answer focuses on DTDs, the tool behind it isn't fussy and is happy to compare any XML structures including Schemas.

0

精彩评论

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