RE: [xml] another newbie question

you really should have some general reading on xml before using it. xml
never contains binary data!
however, you can base64 encode (or use any encoding you like) the data
before inserting it into a xml document (a xml schema like way) or you can
reference the data in an arbitrary or xlinks like way. In the latter case
you would provide the binary data outside the xml.


-----Original Message-----
From: Sun, Lei [mailto:lsun 3eti com]
Sent: Friday, October 11, 2002 4:52 PM
To: 'xml gnome org'
Subject: [xml] another newbie question

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
xml gnome org

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