RE: [xsl] xml diff question

Subject: RE: [xsl] xml diff question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 19 Apr 2006 08:28:40 +0100
> Subject: [xsl] xml diff question
> What's the best way to display the differences.

Well, it rather depends on what you want to do. There are two use cases
where I use differencing and the requirements are completely different:

(a) Creating a version of a narrative document (like the XSLT 2.0 spec) in
which changes since the previous version are highlighted: see

I think Norm's tool was produced with this kind of application in mind
(though in the XSLT spec, I maintain the change markup by hand).

(b) Comparison of test results with reference results to find cases where
the results are different. Here I find that the Stylus Studio differencing
tool works pretty well for me: it gives you the tree views of both documents
side-by-side, allows you to view all nodes or only those that differ or only
those that are the same, and to drill down into either tree to see the
detail of the differences.

Michael Kay

Current Thread