[jdom-interest] Qe: Binary data in XML

Jools Enticknap jools at jools.org
Wed May 30 03:06:42 PDT 2001


> Is it possible to store binary data in a XML Document, maybe
> CDATA-Section or something else? Or is this not allowed at...
> I don't mean a reference to binary files, i mean binary data
> itself to store in a XML-File.

Convert the data into a Base64 string, The add this to the content of an
Element.

If you need a Java Base64 implementation, send me an email off list and
I'll forward you some links.

--Jools




More information about the jdom-interest mailing list