Comparison of Two XML Files

Hi guys. I need a program that can compare two xml files for equivalency using any XML Parser.Any kind of guidance will be helpful.
Last edited on
You don't need an xml library to do that, just load each file into memory and create a hash of each. If the hash generated from both file is the same then they are equivalent.
@ajh32: Do "abc" and "bac" have the same hash? XML is tricky, because it does not enforce order of elements.


First hit from my "diff xml" websearch: http://diffxml.sourceforge.net/
Topic archived. No new replies allowed.