F
for.fun
Hi everybody,
I am looking for a XML comparison tool (I do not mean a standard
char-by-char diff tool but a tool which understand XML syntax)
More precisely, I can have serveral XML structures organized
differently. The XML nodes can store the same data but be organized
differently => in such a case, I would like the diff tool to tell me
that both XML files are identicals.
As far as I am concerned, XML1 and XML2 are identicals (please look at
the sample below).
=> Do you know a command line tool which is able to do this ?
Thanks in advance.
Sample :
------
XML 1:
<grand-father>
abraham
<father1>
sean
<child1>
arthur
</child1>
<child2>
john
</child2>
</father1>
<father2>
michael
<child1>
peter
</child1>
</father2>
</grand-father>
XML 2:
<grand-father>
abraham
<father2>michael<child1>peter</child1></father2>
<father1>sean<child2>john</child2><child1>arthur</child1></father1>
</grand-father>
I am looking for a XML comparison tool (I do not mean a standard
char-by-char diff tool but a tool which understand XML syntax)
More precisely, I can have serveral XML structures organized
differently. The XML nodes can store the same data but be organized
differently => in such a case, I would like the diff tool to tell me
that both XML files are identicals.
As far as I am concerned, XML1 and XML2 are identicals (please look at
the sample below).
=> Do you know a command line tool which is able to do this ?
Thanks in advance.
Sample :
------
XML 1:
<grand-father>
abraham
<father1>
sean
<child1>
arthur
</child1>
<child2>
john
</child2>
</father1>
<father2>
michael
<child1>
peter
</child1>
</father2>
</grand-father>
XML 2:
<grand-father>
abraham
<father2>michael<child1>peter</child1></father2>
<father1>sean<child2>john</child2><child1>arthur</child1></father1>
</grand-father>