GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes compare of two xml file and store difference in seperate new xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "compare of two xml file and store difference in seperate new xml file" Watch "compare of two xml file and store difference in seperate new xml file" New topic
Author

compare of two xml file and store difference in seperate new xml file

saketkumar gupta
Greenhorn

Joined: Feb 24, 2005
Posts: 2
Hi All,

I am getting the problem to compare the two xml file with element. if any diffence between them then it ll create the new xml file and store it.
can u sujjest me some GUI tools or JAXP API for it.

Thanks
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Welcome to JavaRanch Saketkumar..
May be XSLT can help for this task... check this link


Spritle Software Blogs
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
You could also consider the Diff and DetailedDiff classes from DbUnit.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Lasse Koskela:
You could also consider the Diff and DetailedDiff classes from DbUnit.

Obviously I meant XMLUnit, not DbUnit...
 
GeeCON Prague 2014
 
subject: compare of two xml file and store difference in seperate new xml file