Re: [xml] Binary data to child



Thanks Aron.

I understand xml is a text.
If there is a API where I can just add xmlNewBChild(parentnode,tagname,binarydata,datalength);

Won't it be cute ?

If I write the same base64 conversion what is the use of having libxml?

Kannaiyan

----- Original Message ----- From: "Aron Stansvik" <elvstone gmail com>
To: <xml gnome org>
Cc: "Kannaiyan Natesan" <kannaiyan innomedia com sg>
Sent: Tuesday, August 08, 2006 5:30 PM
Subject: Re: [xml] Binary data to child


On 8/8/06, Kannaiyan Natesan <kannaiyan innomedia com sg> wrote:
Hi,

    How can I add a binary data to xml with a defined length? I just have
only --with-tree compiled in my libxml build.

XML is text. Serialize the data to something like base64 first?

Regards,
Aron







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]