SVG zu JavaScript an String String
var stringData = document.getElementById('my-svg').outerHTML;
Fancy Flatworm
var stringData = document.getElementById('my-svg').outerHTML;