Location: PHPKode > projects > xslfo2pdf > xslfo2pdf-0.1beta1/examples/xslfo2pdf_example.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:page-sequence>
	  <fo:flow flow-name="xsl-region-body">
	    <fo:block>
	      dasdsad dfsfsdfsf fdsfdsfs fsd fsd f sdfsd fsdfsdf sdfsdf dsafsdfs dfsdf sdfsd fsdfsdf sdfs dfsdfsd fsdfs dfsed
	    </fo:block>
<fo:block>
xxxxxxxx
	    </fo:block>
<fo:table-and-caption>
<fo:table>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="25mm"/>

<fo:table-header>
<fo:table-row>
  <fo:table-cell>
    <fo:block         
        border-top-style="dotted" 
        border-left-style="solid" 
        border-right-style="solid" 
        border-top-color="red"
        border-left-color="rgb(255,255,0)"        
        font-weight="bold">Car
    </fo:block>
  </fo:table-cell>
  <fo:table-cell>
    <fo:block font-weight="bold"
              border-top-style="dashed" 
              border-top-color="#00ffff"
              border-right-color="cyan">Price</fo:block>
  </fo:table-cell>
</fo:table-row>
</fo:table-header>

<fo:table-body>

  <fo:table-row>
    <fo:table-cell>
      <fo:block>Volvo</fo:block>
    </fo:table-cell>
    <fo:table-cell>
      <fo:block
          background-color="#cccccc">$50000</fo:block>
    </fo:table-cell>
  </fo:table-row>

  <fo:table-row>
    <fo:table-cell>
      <fo:block>SAAB</fo:block>
    </fo:table-cell>
    <fo:table-cell>
      <fo:block>$48000</fo:block>
    </fo:table-cell>
  </fo:table-row>
</fo:table-body>

</fo:table>
</fo:table-and-caption>
	  </fo:flow>
	</fo:page-sequence>
	<fo:page-sequence>
	  <fo:flow flow-name="xsl-region-body">
	    <fo:block>
	     444
	    </fo:block>
	  </fo:flow>
	</fo:page-sequence>
</fo:root>
Return current item: xslfo2pdf