Hi Hailan,
There are only two ways of dealing with images (or other binaries) in xml.
1. Encoding the image as base64 and then embedding it into an xml, here you can extend it to use mtom but it requires Axis adapter or WS Adapter SOAP Message Transmission Optimization Mechanism (MTOM) - Enterprise Services Repository - SAP Library
2. Using attachments
Hope this helps,
Mark