Skip to main content

Diff XML documents to an XSL stylesheet

December 21, 2010 by davidc

This is an XML diff tool that takes two XML documents and produces an XSL stylesheet describing the differences between them. Transforming the first document with the stylesheet will produce the second document again. This is useful for diffing/patching XML files.

I knocked this up quite quickly, so let me know how well it works for you.

XML Diff

Source XML file:
Target XML file: