Return to symbol-use.xml CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / SVG |
1.1 ! misho 1: <?xml version="1.0" standalone="no"?> ! 2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" ! 3: "http://www.w3.org/Graphics/SVG/svg-19990412.dtd"> ! 4: <svg width="4in" height="3in"> ! 5: <defs> ! 6: <symbol id="TemplateObject01"> ! 7: <!-- symbol definition here --> ! 8: </symbol> ! 9: </defs> ! 10: ! 11: <desc>Examples of inline and referenced content ! 12: </desc> ! 13: ! 14: <!-- <g> with inline content --> ! 15: <g> ! 16: <!-- Inline content goes here --> ! 17: </g> ! 18: ! 19: <!-- referenced content --> ! 20: <use href="#TemplateObject01" /> ! 21: ! 22: <!-- <g> with both referenced and inline content --> ! 23: <g> ! 24: <use href="#TemplateObject01" /> ! 25: <!-- Inline content goes here --> ! 26: </g> ! 27: ! 28: </svg>