<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook SVG Module V1.1b1//EN"
              "dbsvg.dtd">
<book>
<title>Book Title</title>
<chapter><title>Chapter Title</title>
<para>Content.</para>

<!-- The SVG example here is taken directly from the SVG Test Suite. -->
<!-- See http://www.w3.org/Graphics/SVG/Test/ for more information -->

<mediaobject>
<imageobject>
<svg:svg xmlns:svg="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     version='1.1'
     id="svg-root" width="450" height="450">
	<svg:title id="test-title">shapes-rect-BE-01</svg:title>
	<svg:desc id="test-desc">Test that viewer has the basic capability to handle the &lt;rect&gt; element.</svg:desc>
	<!--======================================================================-->
	<!--Content of Test Case follows...                  =====================-->
	<!--======================================================================-->
	<svg:g id="test-body-content">
		<!-- ====================================================================== -->
		<!-- First of all draw two simple rectangles. One stroked , one filled.     -->
		<!-- ====================================================================== -->
		<svg:text font-family="Helvetica" font-size="12"  x="160" y="14">Basic rectangles</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="82" y="60">width=50</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="78" y="76">height=100</svg:text>
		<svg:rect id="Simple-rect-no-fill" fill="none" stroke="#000000"  x="30" y="86" width="50" height="100"/>
		<svg:rect id="Simple-rect-filled" fill="red"  x="130" y="86" width="50" height="100"/>
		<svg:text font-family="Helvetica" font-size="12"  x="36" y="202">stroked</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="142" y="202">filled</svg:text>
		<!-- ====================================================================== -->
		<!-- Second set of rectangles this time with rounded corners.               -->
		<!-- ====================================================================== -->
		<svg:text font-family="Helvetica" font-size="12"  x="302" y="50">width=50</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="298" y="66">height=100</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="310" y="82">rx=30</svg:text>
		<svg:rect id="Simple-round-rect-no-fill" fill="none" stroke="#000000"  x="250" y="86" width="50" height="100" rx="30"/>
		<svg:rect id="Simple-round-rect-filled" fill="red"  x="350" y="86" width="50" height="100" rx="30"/>
		<svg:text font-family="Helvetica" font-size="12"  x="256" y="202">stroked</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="362" y="202">filled</svg:text>
		<!-- ====================================================================== -->
		<!-- Third set of rectangles.                                               -->
		<!-- ====================================================================== -->
		<svg:text font-family="Helvetica" font-size="12"  x="82" y="230">width=50</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="78" y="246">height=100</svg:text>
		<svg:rect id="rect-03" fill="none" stroke="#0000FF" stroke-width="8"  x="30" y="266" width="50" height="100"/>
		<svg:rect id="rect-04" fill="#00FF00" stroke="#0000FF" stroke-width="8"  x="130" y="266" width="50" height="100"/>
		<svg:text font-family="Helvetica" font-size="12"  x="36" y="382">stroked</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="118" y="382">filled &amp; stroked</svg:text>
		<!-- ====================================================================== -->
		<!-- Fourth set of rectangles.                                              -->
		<!-- ====================================================================== -->
		<svg:text font-family="Helvetica" font-size="12"  x="302" y="230">width=50</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="298" y="246">height=100</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="296" y="262">rx=30 ry=50</svg:text>
		<svg:rect id="rect-05" fill="none" stroke="#0000FF" stroke-width="8"  x="250" y="266" width="50" height="100" rx="30" ry="50"/>
		<svg:rect id="rect-06" fill="#00FF00"  x="350" y="266" width="50" height="100" rx="30" ry="50"/>
		<svg:text font-family="Helvetica" font-size="12"  x="256" y="382">stroked</svg:text>
		<svg:text font-family="Helvetica" font-size="12"  x="362" y="382">filled</svg:text>
	</svg:g>
	<!--======================================================================-->
	<!--Legend and frame:      Title, suite and SVG document serialization====-->
	<!--======================================================================-->
	<svg:g id="test-legend" fill="black" font-family="Helvetica" font-size="10" >
		<svg:rect x="10" y="390" width="275" height="50" fill="none" stroke="#000000" />
		<svg:path fill="none" stroke="#000000"  d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
		<svg:text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</svg:text>
		<svg:a xlink:href="copyright-documents-19990405.html">
			<svg:text x="12" y="437" fill="blue" >Copyright 2000 W3C. All Rights Reserved.</svg:text>
		</svg:a>
		<svg:text font-size="12"  x="35" y="420">shapes-rect-BE-01</svg:text>
		<svg:text font-size="10"  x="210" y="417">$Revision: 1.4 $</svg:text>
		<svg:text font-size="10"  x="210" y="435">Release 3.0</svg:text>
		<svg:rect id="test-frame" x="1" y="1" width="448" height="448" fill="none" stroke="#000000" />
	</svg:g>
</svg:svg>
</imageobject>
</mediaobject>

</chapter>
</book>

