PDA

View Full Version : Java code to compare XML files like ExamXML XML differencing tool



alapick
04-24-2007, 07:45 PM
I’m working on a Java project that includes identifying changes between XML files and I need a code to compare XML fragments.
I’m using differencing tool ExamXML to compare and merge XML files but this is Windows application.

budiwan
04-12-2010, 06:03 PM
I am also working on to find out a java based tool/api which gives difference between two xml files. I came across you post and find that you have some code base for that. Can you please share your code base with me?

sbbtemp
12-22-2010, 02:36 AM
To text compare between xml files, I found the following useful:

http://www.vaanj.com/tools.php

http://www.vaanj.com/exmlDiff.zip



It tells if the xml files are identical or not. Also generates a report (in text format).