You can't. That is, unless you created you own proprietory XML instruction and implemented your own XSL transfomer to handle it. But that is definately using a sledgehammer to crack a nut. I reckon you are maybe looking at the wrong technology to handle your image. I presume you are transforming this XML in a Java application? In which case, why not just handle the image directly in your app?