I have a fo:table inside fo:inline-contaner. My question is ,How to place overflowing table below in the page or in the next page. I am using apache xmlgraphics 2.7 Here is a short code extract:
<fo:block line-stacking-strategy="max-height">
<xsl:for-each select="./somelist">
<fo:inline-container>
<xsl:text>​</xsl:text>
<fo:table width="100%" border="1pt solid black">
<fo:table-column column-width="50%"/>
<fo:table-column column-width="50%"/>
<fo:table-header>
<fo:table-row background-color="lightgrey">
<fo:table-cell>
<fo:block font-weight="bold">Header 1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-weight="bold">Header 2</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>Row 1, Cell 1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Row 1, Cell 2</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>Row 2, Cell 1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Row 2, Cell 2</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:inline-container>
</xsl:for-each>
</fo:block>
expected behaviour: