Re: binaries in an xml file

[Lewinsohn <jlewinso@netvision.net.il>]
> i'm trying to embed a binary file withing an xml file.
> i don't wont to use an entity but must literaly include the binary file
> inside.
> any suggestions?
> 

Yup. Base64 encode it and stick it in a CDATA field.  Look at section 5.2
in RFC 1521: Base64 Content-Transfer-Encoding and 2.7 in the XML 1.0 spec.

http://www.faqs.org/rfcs/rfc1521.html
http://www.w3.org/TR/1998/REC-xml-19980210#sec-cdata-sect

-- 
Ari							there is no spoon
-------------------------------------------------------------------------
http://www.nebcorp.com/~regs/pgp for PGP public key

Received on Monday, 17 April 2000 01:20:12 UTC