11-30-2007, 04:36 AM
Join Date: Oct 2007
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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?