At 11:56 PM 05/09/2001 +0000, Premal Mehta wrote:
>I am trying to comapre two XML files for quality. The output needed is just
>a flag whether they are equal or not. This actually boils down to tree
>comparison with some extra considerations like namespaces and attributes. I
>am not exactly clear of the approach to take for this. Has anyone worked on
>similar problem? Any help or direction in solvingthis would be of great
You might take a look at IBM Alphaworks' XML TreeDiff. Info at:
It compares two DOM trees, not on the basis of their file structures but on
the basis of their tree structures -- which sounds like what you're after.
Technology is Java Beans. I haven't used it but have heard of folks who've
had good success with it.
John E. Simpson | "I accidentally installed the deer
http://www.flixml.org | whistles on my car backwards. Now
XML Q&A: www.xml.com | everywhere I go, I'm chased by deer."
| (Steven Wright)