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
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
class, such as getNodeName and getNodeValue.
If that is not what you want, you need to explain further.
Java Resources at
I agree. Here's the link:
subject: Xml Element to Byte Array
xml as byte array
Multi dimensional array
how to upload images
split text file into bytesize chunks!
Writing byte array to xml in Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014