Subject: Re: [xsl] Is XSLT a suitable solution for generating a diff between versions of From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Mon, 09 May 2005 14:32:56 +0200 |
Cheers, Geert
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 applicable domain.
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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/xmldiffgui.asp
Regards,
--A
From: cknell@xxxxxxxxxx
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] 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.
-- Charles Knell 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
-- ===================================== NB: het Daidalos kantoor is sinds 22 april jl. gevestigd op een nieuw adres:
Daidalos BV Hoekeindsehof 1 - 4 2665 JZ Bleiswijk tel: +31 (0)10 850 12 00 fax: +31 (0)10 850 11 99
Bovenstaand adres is tevens het postadres. ====================== Geert.Josten@xxxxxxxxxxx IT-consultant at Daidalos BV
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Is XSLT a suitable soluti, Aron Bock | Thread | Re: [xsl] Is XSLT a suitable soluti, Mukul Gandhi |
RE: [xsl] org.apache.xpath.objects., Thorsten Scherler | Date | RE: [xsl] Recognized Unicode charac, Edward Bryant |
Month |