Re: SVGSVGElement.toDataURL()

2013/3/11 Robert Longson <longsonr@gmail.com>

> > Actually it would be useful to have something like innerHTML on
> SVGElement.
> > This would allow to get a string representation of any SVG DOM tree. Once
> > we have such a string representation, it's trivial to produce a DATA URI.
>
> And that already exists too:
> https://developer.mozilla.org/en-US/docs/XMLSerializer
>
> Or DOMParser to go the other way:
> https://developer.mozilla.org/en-US/docs/DOM/DOMParser.
>
> And yes these are cross-browser.
>
> So no new wheels need be invented ;-)
>

Just an easier access point for web authors ;-)

-- 
Jeremie
.............................
Web : http://jeremie.patonnier.net
Twitter : @JeremiePat <http://twitter.com/JeremiePat>

Received on Monday, 11 March 2013 14:30:11 UTC