title: XML file with imbedded image data or ZIP file with XML + separate image files
body: <p>I need to make a file format for my software. The data is basic key/value pairs and images. The options are:</p>
  
  <p>1) One XML file that has CDATA tag with binary encoded image files or image files encoded in a RGBRGBRGB or RGBARGBARGBA format.</p>
  
  <p>2) One XML file holding key/value pairs and links to image files. These image files would be packaged with the XML file in a ZIP or TAR</p>
  
  <p>What do you think is the best approach? If either is ok, which one do you think is easier to implement? I am using wxwidgets and the wxImage class has a getData() function that returns an array in RGB format. Would writing this array to XML be easier than base 64 encoding a jpeg/png etc? I've never programatically handled a ZIP file but I know there is a helper class in wxwidgets for this kind of thing. </p>
  
  <p>Any insight is appreciated. </p>