- From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
- Date: Fri, 2 May 2008 11:49:41 +0100
- To: www-svg@w3.org
Typically the symbol element itself is inside the defs element; nothing inside defs is rendered directly and it is noted: "A 'symbol' element itself is not rendered." http://www.w3.org/TR/SVG11/struct.html#SymbolElement Therefore a similar and well defined approach is to reference a view element http://www.w3.org/TR/SVG11/linking.html#ViewElement as already mentioned. If you put your objects to be referenced well separated, you simply can use the view element (including animation) to get what you need. Another approach without view element is to reference a set animation of the viewBox of the root svg with a hyperlink to get almost the same effect as using a view element. This is available in SVG tiny too even without a symbol element. A similar method is to use in the same way a set animation activated with a hyperlink for xlink:href of use to exchange the symbol or symbol like groups, available too with SVG tiny. As you can see, there are already several methods to get the same or a similar effect.
Received on Friday, 2 May 2008 10:52:29 UTC