[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
RE: Is XSLT a suitable solution for generating a diff
Subject: RE: Is XSLT a suitable solution for generating a diff between versions of |
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Mon, 09 May 2005 04:13:33 +0000
Charles, about a monthand-something ago a participant posted a simplistic
algorithm that compared XML files. Under repeated fire from those who
know better that XML differencing couldn't be done, shouldn't be done,
should be written in Aramaic, should be done only when standing on 1 leg, et
cetera, the algorithm was repeatedly revised, each time claiming a smaller
As they say, if the bumble bee knew anything about aerodynamics, it would
never fly. Luckily for us it seems some other people, unaware of how XML
diffs shouldn't be done, went ahead and created something that works. And
another ng participant posted the link shortly after the mele above! I
can't locate that post at the moment, but I believe it was:
Subject: Is XSLT a suitable solution for generating a diff between
versions of a document?
Date: Sun, 08 May 2005 21:49:56 -0400
I have been considering a change management tool for comparing versions of
an XML document. I have searched and haven't been able to find anything on
point so I'm posting this question to the list. Given two versions of an
XML document (say we are working with a document valid per a DTD or
schema), is XSLT a suitable way of extracting the changes between versions
of the document, and if so, can anyone show me a general method of writing
a suitable stylesheet? Thanks.
cknell@xxxxxxxxxx - email
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format