I have a blank svg canvas on my page
<svg
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="100%"
height="100%"
id="svg_canvas"
preserveAspectRatio="xMinYMin meet"
viewBox="0 0 250 250">
</svg>
I have another svg, with the following form, in an external file.
<?xml ...>
<svg id="external"
...>
<g id="lollipop"
...>
//LOTS OF VECTOR INSTRUCTIONS IN THIS GROUP
</g>
</svg>
I would like to ajax for the external svg and insert the lollipop group into the current canvas. I would accept answers which ajax for the entire .svg and parse out the group (id="lollipop") to insert. It may be preferable, though, to copy just the group i want and save that as a text file which can be called upon and parsed. Either way.