You may want to use Base64 encoding.
<BINARY_DATA VALUE="base64 data here"/>
From: Liu, Dezhi [mailto:[log in to unmask]]
Sent: Wednesday, July 12, 2000 3:26 PM
To: [log in to unmask]
Subject: How to embed binary data in XML file?
I am a beginer of XML. Now I try to embed some binary data into
XML. How can I do this?