wood burning stoves*
The moose likes XML and Related Technologies and the fly likes Converting Document to String Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Converting Document to String" Watch "Converting Document to String" New topic

Converting Document to String

Steve Watson
Ranch Hand

Joined: Apr 08, 2003
Posts: 38
How can I convert a Dom Document to a String?
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Here is the code:

The full working example can be found at http://bobcat.webappcabaret.net/javachina/faq/xml_java_01.htm#jaxp_dom_Q35
I agree. Here's the link: http://aspose.com/file-tools
subject: Converting Document to String
Similar Threads
From Document Object to a byte array
Document to String
Converting Document Object to String
Setting Xpath String to do XPath query
String parsing help.