Re: [xml] another newbie question



XML is a text so result is expected. Most likely the best solution would be to base64 encode
the data before inserting into XML.

Aleksey

Sun, Lei wrote:

How do I embed binary data in a node?  I tried xmlAddChild, but it seems the
parser treat it as a text and trimed off the 0 bytes (null character).

thank you!
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml





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