A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Converting Document Object to String
Joined: Nov 12, 2001
Oct 07, 2002 10:16:00
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
. Thanks in advance!
Joined: Jul 09, 2001
Oct 07, 2002 10:27:00
Please search for 'serialize xml' on the site.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
It is sorta covered in the
JavaRanch Style Guide
subject: Converting Document Object to String
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
String to DOM
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014