aspose file tools
The moose likes XML and Related Technologies and the fly likes Convert XML file to String 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 "Convert XML file to String" Watch "Convert XML file to String" New topic

Convert XML file to String

tushar jayawant

Joined: Aug 20, 2003
Posts: 19
Hi to All

How to read a XML file and convert it into a String.......

Thankx and Regard's
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
How to read a XML file...

See The Quintessential Program to Create a DOM Document from an XML File at the Java Developer's Almanac.
...and convert it into a String?

See DocumentToString in our wiki.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Convert XML file to String