Here are some examples that use Chilkat.Xml to embed a binary file in XML. It provides for the option to zip (using the .zip deflate algorithm) and encrypt (using 128-bit AES encryption).
C#: Embed Binary Image into XML (GIF, BMP, JPG, etc.)
VB.NET: Embed Binary Image into XML (GIF, BMP, JPG, etc.)