aspose file tools*
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Converting Document to String" Watch "Converting Document to String" New topic
Author

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
 
Don't get me started about those stupid light bulbs.
 
subject: Converting Document to String