All,
I got following question. I want to sort a XML files content in
following manner:
Source file:
<btag>
<bbtag key=val/>
<abtag key=val/>
</btag>
<atag>
</atag>
<btag>
<bbtag key=val/>
<abtag key=val/>
<cbtag key=val/>
</btag>
Target file:
<atag>
</atag>
<btag>
<abtag key=val/>
<bbtag key=val/>
</btag>
<btag>
<abtag key=val/>
<bbtag key=val/>
<cbtag key=val/>
</btag>
As order in my XML structures do not matter, the sorting my be based
on ASCII or a MD5 sum of the substructure.
This is just to feed it into a pretty printing text diff tool, that
compares several 10.000 XML files...
So any idea on sorting my sourcefiles (so I still can use my backend
i'm quite happy with) or a different backend that compares and makes a
pretty HTML output file.
Thanx in advance
edw.