Location: PHPKode > projects > xslfo2pdf > xslfo2pdf-0.1beta1/examples/svg/circle.xml
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" >
     <fo:layout-master-set>
          <fo:simple-page-master master-name="simple">
               <fo:region-body/>
          </fo:simple-page-master>
     </fo:layout-master-set>
     <fo:page-sequence master-reference="simple">
          <fo:flow flow-name="xsl-region-body">
               <fo:block>
                    <fo:instream-foreign-object>
                         <svg:svg width="100pt" height="100pt" xmlns:svg="http://www.w3.org/2000/svg" >
                              <svg:circle cx="50pt" cy="50pt" r="30pt" style="fill:blue;"/>
                         </svg:svg>
<svg:svg width="100pt" height="100pt" xmlns:svg="http://www.w3.org/2000/svg" >
                              <svg:circle cx="50pt" cy="50pt" r="30pt" style="fill:green;"/>
                         </svg:svg>
                    </fo:instream-foreign-object>
               </fo:block>
          </fo:flow>
     </fo:page-sequence>
</fo:root>
Return current item: xslfo2pdf