merge the formfield patch from ooo-build
[ooovba.git] / testautomation / xml / optional / input / docbook / svg.001.xml
blob75410a1deb2840712133ee634917e25e02280411
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">
4 <article>
5 <articleinfo>
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>
10 </author>
11 </articleinfo>
13 <para>This article contains an SVG diagram (inline).</para>
15 <mediaobject>
16   <imageobject>
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
22                              231,161 321,161" />
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"/>
26       </svg:g>
27     </svg:svg>
28   </imageobject>
29   <imageobject>
30     <imagedata
31       align="center"
32       fileref="graphics/svg-001-fallback.png"/>
33   </imageobject>
34   <textobject><phrase>Example SVG polygons</phrase></textobject>
35   <caption><para>Polygons</para></caption>
36 </mediaobject>
38 </article>