Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
saketkumar gupta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch Saketkumar..
May be XSLT can help for this task... check this link
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also consider the Diff and DetailedDiff classes from DbUnit.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lasse Koskela:
You could also consider the Diff and DetailedDiff classes from DbUnit.

Obviously I meant XMLUnit, not DbUnit...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic