aspose file tools*
The moose likes XML and Related Technologies and the fly likes Comparing 2 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 "Comparing 2 xml files" Watch "Comparing 2 xml files" New topic
Author

Comparing 2 xml files

ram shyam
Ranch Hand

Joined: May 04, 2007
Posts: 77
Hi all,

I would like to know if there are any existing Sun 3pp available to compare 2 xml files. If not, is there any way other than unmarshalling the xml to JAVA objects and then do the comparison?

Also, I have a text file which needs to be compared with an existing xml file. I thought this text file can be converted to xml and then the comparison can be done. Please let me know if my approach is correct.

Thanks in advance!!
 
Consider Paul's rocket mass heater.
 
subject: Comparing 2 xml files