This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Boost this thread!