Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

"No such interface supported" when trying to import SVG using importNode or adoptNode in IE9

$
0
0

Hi!

I'm trying to embed a SVG image in a XHMTL document. The image is loaded usingSys.Net.WebRequest and then imported:

var xml = executor.get_xml();var svg = document.importNode(xml.documentElement, true);

This works in Firefox, Opera and Chrome. But in IE9 both document.importNode and document.adoptNode throw a "No such interface supported" exception. Both methods should be implemented in IE9. Any suggestions other than implementing own importNode likehere?

Thanks in advance

Rafał Rutkowski



Viewing all articles
Browse latest Browse all 3527

Trending Articles