wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes reading xml file in string format 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 "reading xml file in string format" Watch "reading xml file in string format" New topic

reading xml file in string format

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
I have two xml files. i need to read these files and compare them. any ideas on how this cn be done?

plz help.

SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I'd recommend looking into the Diff and DetailedDiff classes of XMLUnit.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: reading xml file in string format
Similar Threads
split big DOM xml file ??
tomcat can not load oracle???
dynamically accessing the files from different directories
XML Parser discarding white space ??
XML Transformation