Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes XML and Related Technologies and the fly likes compare two xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "compare two xml file" Watch "compare two xml file" New topic

compare two xml file

saketkumar gupta

Joined: Feb 24, 2005
Posts: 2
I m getting the problem to compare two xml file and keep output of difference in seperate new xml file. how can we do this by using any automatic gui-tools or JAVA API for this.

more details :

i want to compare two large xml file by start element to end element in other file. and suppose first file element tag is not there in second file then it should be added in new xml file.

all the process should be done automatic not manually checking.

suggest me if any gui tools or API for this

Please help me.

Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
Guess you missed this thread

Spritle Software Blogs
It is sorta covered in the JavaRanch Style Guide.
subject: compare two xml file
It's not a secret anymore!