Parse SVG Elements via XML DOM

Load svg files as XML via XMLHttpRequest. You can load the file's responseText directly into a DIV via innerHTML. Also, by using DOMParser you can insert svg elements to the current rootSVG.

mySVG.svg:
SVG Inline


XML Doc (mySVG2.svg)
Javascript:
OK in:IE11/CH32/FF28