WARNING: This works on Firefox 1.5 only (MozXBL1 and native SVG)



The Mozilla XBL principle: Data (in whatever XML format), the stylesheet and the bindingsheet together give the result.

The problem: The result doesn't provide me with a SVG Document, to use with all my SVG tools (that's what we have a standard for, right?).
The solution: put this snapshot() among your bookmarks and call it on the image: YouŽll get the source of an <svg> element that with some stuff added at the beginning to make it a complete SVGDocument results in exactly the same image as the XBL system did.