Hi Olumide,
the DOM node expects a string as content, so you will have to manually
use the Base64 class to convert your buffer into plain text before
calling setNodeValue()
Alberto
Il 03/10/13 15:18, Olumide ha scritto:
Dear Xercers,
I'm looking to create an XML element, e.g. <Binary>, that contains
binary data. I know that the data should be in base64. What I'd like
to know is if it is sufficient to simply dump the binary data between
the <Binary> tags like so
<Binary>TWFuIGlzIGRpc3Rpbmd1aXNo...<Binary>
and if xerces capable of detecting that this data is in base64 and
extracting characters or bytes from it or is this up to the custom
handler.
Thanks,
- Olumide