- From: Jeremie Patonnier <jeremie.patonnier@gmail.com>
- Date: Mon, 11 Mar 2013 15:29:22 +0100
- To: Robert Longson <longsonr@gmail.com>
- Cc: www-svg <www-svg@w3.org>
Received on Monday, 11 March 2013 14:30:11 UTC
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