How do I convert an XML Document to a byte array?
Please Login to Remove!
I'm receiving an XML document from a web service, and then use the DocumentBuilder and DocumentBuilderFactory classes to convert the byte array to an XML Document object for manipulation.
I want to be able to change the values in the XML Document and pass the updated version back to the web service, but I can't work out how to convert the Document back to a byte array.
Does anybody know how to do this?
|