Jump to content

DOM -> Text


eight968

Recommended Posts

Let's say I have a basic XML file like "<Person> <name> Charles </name> </Person>". I can easily convert this to DOM using some flavor of parse. However, I later need to serialize the DOM I created to send it over the wire. Is there a way to convert from DOM to String?"<Person> <name> Charles </name> </Person>" -> DOM // I can do thisDOM -> "<Person> <name> Charles </name> </Person>" // How do I do this?--Charles

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...