[OpenLayers-Dev] Xlink sous IE

Tim Schaub tschaub at openplans.org
Thu Mar 6 05:47:42 EST 2008


Andreas Hocevar wrote:
> 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);
> 

And of course setAttributeNS doesn't exist in IE - but that's beside the 
point.

> 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.
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> !DSPAM:4033,47cfbf6a63031804284693!
> 




More information about the Dev mailing list