On Wed, 30 Nov 2005 16:12:58 +0100, "Xavier"
<xno.spam.ni.pub@net.nosp.celer.com> wrote, quoted or indirectly
quoted someone who said :
>I have a soft generating report in XML files. I am searching a soft or
>simple Java code to compare 2 XML files, generating report only with the
>differences, conserving the XML tree of data.
parse the two trees. Then a simple minded compare would recursively
sort the nodes at each level, the look for dups, and whatever was not
a dup it would report on. Then it would process the subtrees of each
of the dups recursively.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
> Hi,
>
[quoted text clipped - 3 lines]
>
> Any idea ?
Look up xmlunit for java.
There was also a C# solution whose name escapes me that worked pretty well.