XML Diff Tool


Here’s a webpage (courtesy of ASP+) that compares two XML files (eg, Xml Diff, Xml Patch). It also includes free downloadable version that you can run offline. As more and more things use XML, these sort of tools become more necessary. For example, I needed an xml diff tool because I was comparing two xml log files.


I’d venture to say that doing diff on plain text files is a pretty solved problem. In contrast, it seems that Xml diff offers a much richer set of options. For example, because XML is structured data, an xml diff engine could take in a schema to provide semantic knowledge for the diff. One use of this could be to ignore certain “noise” attributes. (At this point, some reader is supposed to add a comment about how there’s a tool out there that already does this…)


Comments (3)

  1. Jim Showalter says:

    That is the coolest thing! I had looked for one of these late 2005, and found a bunch of academic articles, and a few utilities, but none in C#. I looked for one again today and bang–google took me right to your blog. Thank you very much!

  2. Wow. Glad I can be useful, but that’s also kind of scary. I’m surprised this would be high. What keywords did you google? I just did a google + search.msn.com and didn’t saw the tool, but not my blog.

  3. With an update of Process Explorer this morning (my most *favourite tool*), I thought I’d give a quick…