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 Converting Document 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 "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
I agree. Here's the link:
subject: Converting Document to String
It's not a secret anymore!