File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
XML and Related Technologies
Xml Element to Byte Array
Joined: Dec 12, 2006
May 26, 2009 05:35:12
How can i convert XML element to Byte array using
Author and all-around good cowpoke
Joined: Mar 22, 2000
May 26, 2009 07:23:33
If you are talking about creating a text representation of the element contents as an array of bytes, look at the various methods in the org.w3c.dom.Node class, such as getNodeName and getNodeValue.
If that is not what you want, you need to explain further.
It is sorta covered in the
JavaRanch Style Guide
subject: Xml Element to Byte Array
how to upload images
Writing byte array to xml in Java
split text file into bytesize chunks!
xml as byte array
Multi dimensional array
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015