*
The moose likes XML and Related Technologies and the fly likes Converting Document Object 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 Object to String" Watch "Converting Document Object to String" New topic
Author

Converting Document Object to String

Sanjit Singh
Greenhorn

Joined: Nov 12, 2001
Posts: 27
Hi,
I have a Document object that contains the contents of an XML document. Is it possible to get the whole XML document as a "string" from this document object?
I would be interested in storing the whole XML document as a string. Thanks in advance!
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1167
Please search for 'serialize xml' on the site.
Cheers,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Converting Document Object to String
 
Similar Threads
String to DOM
How to convert a String to Element, and add to an existing Document obj?
can SAX or DOM parse only an XML string at a time?
XML to String
String from Document