aspose file tools*
The moose likes XML and Related Technologies and the fly likes How to compare two XML files? 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 "How to compare two XML files?" Watch "How to compare two XML files?" New topic
Author

How to compare two XML files?

Ajay Xavier
Ranch Hand

Joined: Jan 03, 2005
Posts: 109
Hi,

Is there any direct way(like API or utilities) to compare two xml files(which are created from the same schema)?

Regards,
Ajay.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18902
    
    8

Lots of people have written that sort of thing. "XML diff" are the Google keywords to use.
Ajay Xavier
Ranch Hand

Joined: Jan 03, 2005
Posts: 109
Thanks Paul,

It would be more helpful, if you are able to provide me some sample code or articles which better explains it.

Thanks,
Ajay.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18902
    
    8

What do you mean by "explains"? Do you have some particular question about comparing two XML files? There are a LOT of products that compare two XML files, which the Google search I suggested would return. Are you not interested in any of those?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compare two XML files?