title: Accessing the SVG data through JavaScript
body: <p>I am working on a web application using SVG &amp; JS. Things are going well but I am a bit confused by data handling.</p>
  
  <p>The data for objects that users create is dynamically appended to the SVG root. Where &amp; how is this SVG data stored, &amp; how can I access it? The reason I want to read it is that I want to convert this SVG data into HTML5 canvas (using Google's <a href="http://code.google.com/p/canvg/" rel="noreferrer">canvg</a>) and finally turn that into a png image to be stored in our db for reference.</p>
  
  <p>Any guidance would be much appreciated.</p>