Are links inside a symbol really discarded ?

I tried to add a link inside a symbol but it seems that any link inside a 
symbol is simply discarded by the "use" element which references it.

Here is an example with a link on two circle. The green circle is not a 
"use" element, thus the link is active. The red circle is a "use" element.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" 
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="200">
	<symbol id="myCircle">
		<a xlink:href="http://www.w3.org">
			<circle cx="100" cy="100" r="50" fill="red"/>
		</a>
	</symbol>
	<g>
		<a xlink:href="http://www.w3.org">
			<circle cx="200" cy="100" r="50" fill="green"/>
		</a>
		<use xlink:href="#myCircle"/>
	</g>
</svg>

In this case, a solution would be to put the link outside the "use" element 
but that's not what I want because my symbol is actually fairly complex and 
has several links on its inner elements.

Is there any solution?

Philippe Converset

Received on Monday, 29 October 2001 12:37:43 UTC