XSL-FO Question-- how to convert xml to pdf

  
Hi, 

I have written one xsl fo file. 
When I run this file on xslfo processor, I can only see 5 columns in one page. Rest of the columns are not shown. I want to see all the columns. 
In case columns are not shown at one page, they should be shown on next page. 

Could you please suggest how can i do this. 

<?xml version="1.0" encoding="UTF-8"?> 
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> 
<fo:layout-master-set> 
<fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm" page-width="21cm" page-height="29.7cm" master-name="first"> 
<fo:region-body margin-top="3cm"/> 
<fo:region-before extent="3cm"/> 
<fo:region-after extent="1.5cm"/> 
</fo:simple-page-master> 
</fo:layout-master-set> 
<fo:page-sequence master-reference="first"> 
<fo:flow flow-name="xsl-region-body"> 
<fo:block text-align="start"/> 
<fo:table> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-column column-width="40mm"/> 
<fo:table-body> 
<fo:table-row> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column1</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column2</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column3</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column4</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column5</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column6</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column7</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Column8</fo:block> 
</fo:table-cell> 
</fo:table-row> 
<fo:table-row> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>October 2006</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>D</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>Active</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>$0</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>$548</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>-$200.20</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>$10</fo:block> 
</fo:table-cell> 
<fo:table-cell border-style="solid" border-width="0.5mm"> 
<fo:block>$359</fo:block> 
</fo:table-cell> 
</fo:table-row> 
</fo:table-body> 
</fo:table> 
</fo:flow> 
</fo:page-sequence> 
</fo:root> 

Thanks 

Received on Thursday, 13 September 2007 15:37:19 UTC