Tuesday, December 28, 2010

diff XML documents

What's the Diff? Diff XML Documents

I just tried that IBM Java utility on the command line of a Linux system. Not bad.
I only tried it on a rather simple example, where I removed a single element.
Looks like you better run the command twice, with permuted arguments.

2 comments:

  1. I worked on an XML diff tool, first in Perl then later in Java. It's a non-trivial problem. These days, I mostly use DeltaXML's product which works really well.

    ReplyDelete
  2. Thanks a lot, Norm, I appreciate your hint!
    I guess, I will have a serious need for a good utility, as I am working on a tool, that generates XML, and somebody else insists on editing that generated XML, so I will have to diff them, and only, if I am very lucky, they are easy to compare.

    ReplyDelete

Note: Only a member of this blog may post a comment.