On Wed, 2010-06-23 at 16:07 +0900, Jean-Christophe Helary wrote:
> I am looking for a command line tool that:
>
> 1) can easily merge XML files of the same format
There is no universal clear definition of what it means to
merge two trees.
> 2) can modify/remove/add attributes or tags easily
> 3) does all that quickly (including save)
You could try xmlstarlet, or maybe learn XQuery Update,
and/or XSLT.
"I want a tool that makes a potentially very complex problem very simple
for me without me having to specify what it is exactly or how it works"
has been the dream of overpaid executives for decades :-)
However, if you can give us a more precise idea of exactly what you
want, you might get a more specific answer...
Best,
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org