XML technologies / SVG / Creating graphic elements from templates

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

If you have created complex drawing elements in SVG and need them at several places in a graphic, copying all the code to each position is cumbersome, as most previous examples have done. SVG also lets you create symbols, a kind of template, from which you can create similar elements. This is very useful for producing reusable SVG code.

   

   

 

 

 

back to top