BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-30-2007, 05:36 AM   #1 (permalink)
New Member
 
Join Date: Oct 2007
Model: 8100
PIN: N/A
Carrier: Orange
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.