summaryrefslogtreecommitdiff
path: root/testautomation/xml/optional/input/docbook/svg.001.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/xml/optional/input/docbook/svg.001.xml')
-rwxr-xr-xtestautomation/xml/optional/input/docbook/svg.001.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/testautomation/xml/optional/input/docbook/svg.001.xml b/testautomation/xml/optional/input/docbook/svg.001.xml
new file mode 100755
index 000000000000..75410a1deb28
--- /dev/null
+++ b/testautomation/xml/optional/input/docbook/svg.001.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook SVG Module V1.0beta2//EN"
+ "http://www.oasis-open.org/docbook/xml/svg/1.0beta2/dbsvg.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: svg.001.xml</title>
+<releaseinfo role="CVS">$Id: svg.001.xml,v 1.2 2008-07-11 08:00:20 rt Exp $</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+ <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>This article contains an SVG diagram (inline).</para>
+
+<mediaobject>
+ <imageobject>
+ <svg:svg xmlns:svg="http://www.w3.org/2000/svg">
+ <svg:g transform="scale(0.5)">
+ <svg:polygon style="fill:red; stroke:blue; stroke-width:10"
+ points="350, 75 379,161 469,161 397,215
+ 423,301 350,250 277,301 303,215
+ 231,161 321,161" />
+ <svg:polygon style="fill:lime; stroke:blue; stroke-width:10"
+ points="850,75 958,137.5 958,262.5
+ 850,325 742,262.6 742,137.5"/>
+ </svg:g>
+ </svg:svg>
+ </imageobject>
+ <imageobject>
+ <imagedata
+ align="center"
+ fileref="graphics/svg-001-fallback.png"/>
+ </imageobject>
+ <textobject><phrase>Example SVG polygons</phrase></textobject>
+ <caption><para>Polygons</para></caption>
+</mediaobject>
+
+</article>