1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook SVG Module V1.0beta2//EN"
3 "http://www.oasis-open.org/docbook/xml/svg/1.0beta2/dbsvg.dtd">
6 <title>Unit Test: svg.001.xml</title>
7 <releaseinfo role="CVS">$Id: svg.001.xml,v 1.2 2008-07-11 08:00:20 rt Exp $</releaseinfo>
8 <author><firstname>Norman</firstname><surname>Walsh</surname>
9 <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
13 <para>This article contains an SVG diagram (inline).</para>
17 <svg:svg xmlns:svg="http://www.w3.org/2000/svg">
18 <svg:g transform="scale(0.5)">
19 <svg:polygon style="fill:red; stroke:blue; stroke-width:10"
20 points="350, 75 379,161 469,161 397,215
21 423,301 350,250 277,301 303,215
23 <svg:polygon style="fill:lime; stroke:blue; stroke-width:10"
24 points="850,75 958,137.5 958,262.5
25 850,325 742,262.6 742,137.5"/>
32 fileref="graphics/svg-001-fallback.png"/>
34 <textobject><phrase>Example SVG polygons</phrase></textobject>
35 <caption><para>Polygons</para></caption>