/ libxml2 / result / SVG / symbol-use.xml
symbol-use.xml
 1  <?xml version="1.0" standalone="no"?>
 2  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
 3  <svg width="4in" height="3in">
 4    <defs>
 5      <symbol id="TemplateObject01">
 6  <!-- symbol definition here -->
 7      </symbol>
 8    </defs>
 9    <desc>Examples of inline and referenced content
10    </desc>
11  <!-- <g> with inline content -->
12    <g>
13  <!-- Inline content goes here -->
14    </g>
15  <!-- referenced content -->
16    <use href="#TemplateObject01"/>
17  <!-- <g> with both referenced and inline content -->
18    <g>
19      <use href="#TemplateObject01"/>
20  <!-- Inline content goes here -->
21    </g>
22  </svg>