This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xml diff tools
- To: docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: xml diff tools
- From: Michael Smith <smith at xml-doc dot org>
- Date: Thu, 30 Aug 2001 15:42:10 +0900
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <3B8D15D2.96FF1BC0@milagrosoft.com>
Eric Richardson <eric.richardson@milagrosoft.com> writes:
> Just wondering if anyone had any thoughts or suggestions about xml diff
> type tools. I'm familiar with standard diff and the cvs tools but
> wondering if a tool like xmldiff would help for collaborating in a
> non-connected environment like editing and returning the edited copy.
> Is anybody doing anything similar and using any of these Free Software
> tools?
>
> An example:
> http://www.logilab.org/xmldiff/
>
> I know there is also a changebar type feature to the stylesheets but I'm
> not sure how to use or edit docbook to get it to work. Does anybody use
> this feature?
I've used the changebars.xsl stylesheet (in the standard stylesheet
distro) in combination with Norm Walsh's "diffmk" utility:
http://www.sun.com/xml/developers/diffmk/
...which generates a doc that shows deletes in strike-through, added
text in one color, changed text in another. It's very easy to use,
two-step process:
1. Run "diffmk -docytpe docbook <old.xml> <new.xml> <diffs.xml>"
2. Run XSLT engine on diffs.xml w/ changebars.xsl to get diffs.html
HTH,
--Mike
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>