Re: libxml2 and CDATA



On Sat, 31 Dec 2005 04:37:59 -0800, Ni@m wrote:

> I have a question - how to get CDATA's length? If it's really
> binary(picture for example) will xmlStrlen help me?? I get content of node
> with xmlNodeListGetString(document,node->children,1);
>
> Or maybe you can advise smth else?
If it is binary data what do you then need the strlen for? Whould it not
be more usefull to have foot print in memory? Eg. use sizeof the returned
pointer.

--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

.