+ 1
Yes, SVG is a XML valid type, but canvas isn't, it is based on a api which have methods for drawing inside the container created by the canvas tag on the HTML. If you want to pass a canvas to XML, at first you'll need to convert for the specific format you have in mind.