This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Converting Document to String