[jdom-interest] How to insert Binary Data

philip.nelson at omniresources.com philip.nelson at omniresources.com
Tue May 15 18:24:50 PDT 2001

> In DOM, if I need to add a binary data, I have to use 
> base64Encoding and
> then add the object as a string.
> Is this the same way we add binary data in JDom, or I can add 
> a Java object
> itself.

You still have to encode any binary data.  What would JDOM do with your
binary data and still be well formed xml?

More information about the jdom-interest mailing list