summaryrefslogtreecommitdiff
path: root/test/SVG/symbol-use.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/SVG/symbol-use.xml')
-rwxr-xr-xtest/SVG/symbol-use.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/SVG/symbol-use.xml b/test/SVG/symbol-use.xml
new file mode 100755
index 0000000..83bc458
--- /dev/null
+++ b/test/SVG/symbol-use.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN"
+ "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <symbol id="TemplateObject01">
+ <!-- symbol definition here -->
+ </symbol>
+ </defs>
+
+ <desc>Examples of inline and referenced content
+ </desc>
+
+ <!-- <g> with inline content -->
+ <g>
+ <!-- Inline content goes here -->
+ </g>
+
+ <!-- referenced content -->
+ <use href="#TemplateObject01" />
+
+ <!-- <g> with both referenced and inline content -->
+ <g>
+ <use href="#TemplateObject01" />
+ <!-- Inline content goes here -->
+ </g>
+
+</svg>