This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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]
I agree. Here's the link:
subject: Convert XML file to String
It's not a secret anymore!