Re: Elements with Binary content

2013-10-03 Thread David Webber
From: Olumide I'm looking to create an XML element, e.g. , 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 tags like so TWFuIGlzIGRpc3Rpbmd1aXNo... and if xerces capable of detecting

Re: Elements with Binary content

2013-10-03 Thread Alberto Massari
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. , that contain