[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[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: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Mon, 09 May 2005 14:32:56 +0200
|
Hi there,
Some nice XML comparing stylesheets can be found at http://xsltunit.org/, though this package does
use EXSLT extensions, so you XSL processor must support them.
Cheers,
Geert
Aron Bock wrote:
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: 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
http://www.daidalos.nl/
GPG: 1024D/12DEBB50
|
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
RSS 2.0 |
|
Atom 0.3 |
|
|