A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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.
I agree. Here's the link:
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?
String from Document
XML to String
String to DOM
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014