XML technologies / SVG / Creating graphic elements from templates / Summary, questions and exercises
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
Summary
Symbols can be defined to make complex elements reusable.
Symbols are not rendered.
Only when you create an instance of a symbol is that instance rendered and, where appropriate, displayed as the graphic is loaded.
Instances are created with the
<use>tag.Instances can only receive formatting that is not already defined in the symbol.
Questions and exercises
What is the difference between an element defined with
<symbol>and one defined with<g>and referenced with<use>?Can symbols from external files also be referenced?
How are stylesheets created inside an SVG file?
How can stylesheets be assigned?
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de