Is it possible to create a surface from an existing SVG markup received via AJAX from the server? I have no problem creating and initializing SVG document via .load() like it is described in http://www.quirksmode.org/dom/importxml.html, though the problem is to somehow display this document in client's browser. Ideally, on IE, that document should be interpreted as VML.
I've noticed a function dojox.gfx.attachNode though in version 1.1.1 Firefox and IE don't seem to find it and in latest test cases the corresponding tests are also commented out (http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/gfx/tests/test_..., see lines 445-446, tests 'attach', 'attach_gradient').
GFX: Creating surface from existing SVG markup
Submitted by martinsb on Mon, 08/11/2008 - 14:17.
- Login or register to post comments
- Subscribe post

This functionality is not
This functionality is not supported.