discuss: SGML-Question: Maintaining Documents in different languages
Subject:
Re: SGML-Question: Maintaining Documents in different languages
From:
Nicolas Chauvat ####@####.####
Date:
18 Jul 2002 09:20:07 -0000
Message-Id: <Pine.LNX.4.21.0207181115540.1877-100000@aries.logilab.fr>
On Thu, 18 Jul 2002, Alexander Bartolich wrote:
> Nicolas Chauvat wrote:
> > [...] http://www.logilab.org/xmldiff is your friend.
> > Help fix it and provide test cases if it doesn't work for you :o)
>
> Just had a first look ... mh ...
> For what kind of problems do you use it?
>
> A typical non-trivial DocBook instance is spread over a few
> physical files, where the central document just holds
> declaration and reference of system entities. It's rare to modify
> this central document, changes happen in the satellite files.
>
> But how do you diff them?
to diff xml files? :-)
> AFAIK xmldiff requires me to setup a second central document with
> modified system entities.
True.
> But then how do I find the file the change is in?
That is not addressed in the current version.
> A real life example:
>
> [update, book[1]/chapter[6]/itemizedlist[1]/listitem[3]/para[1]/text()[1],
> If the program is usually started through another program (let's call it]
>
> Short of grepping for the content, what should I do with that?
Use the xupdate command-line switch to output an xupdate file, that's
easier to manipulate. I have a feature-incomplete merge tool that
processes xupdate files and that I need to post. Will try to do it
tonight.
--
Nicolas Chauvat
http://www.logilab.com - "Mais où est donc Ornicar ?" - LOGILAB, Paris (France)