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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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