[OpenLayers-Dev] Xlink sous IE
Andreas Hocevar
andreas.hocevar at gmail.com
Thu Mar 6 04:54:43 EST 2008
fgenin wrote:
> Yes , I use the SVG adobe viewer to display SVG in IE. And the SVG image is
> defined in this documentation
> http://www.w3.org/TR/SVG/struct.html#ImageElement
>
We also use the image element for the SVG renderer. We set the attribute
namespace using the setAttributeNS method:
node.setAttributeNS("http://www.w3.org/1999/xlink", "href",
style.externalGraphic);
This should also work for you.
But still, it would be interesting to know in what context you are using
svg images, in a way that makes it impossible to just use an
externalGraphic symbolizer.
Regards,
Andreas.
More information about the Dev
mailing list