Parse SVG Fragment
Lets get some SVG markup loaded as a Fragment, and do something with it.
Note, it gets loaded into Snap as a fragment.
Note, it gets loaded into Snap as a fragment.
var s = Snap("#svgout");
var myFrag = Snap.parse(' \
\
\
\
\
Some text can go in here \
\
\
');
s.append( myFrag );
var tp = s.select("#myTextPath");
tp.animate({ 'startOffset': 2000 }, 5000 );