If you want the xml file to display the image then you need to apply an xml-stylesheet (xsl).
If you need the xml file to contain the image, then tsuji is right, you need to encode the image bytes into base64, the result is a string that you can embed in your xml file.
I'm sure there are applications that encode files into base64, but I don't know none, we use our own java app to do this.