My XSL-FO transformation is rendering around 4 of the same tables per page.
On the odd occasion there is not enough space to render 4 complete tables on
a single page, the 4th table in this case is split with the contents
continued on the following page.
I need to keep the tables together. If reaching the end of the page, tables
should not be split but rather start as a new complete table on the
following page.
I'm using the following code with the (keep-together="always") element, with
no success: Can anybody suggest a solution? I dont want to use headers if
possible. I am using FOP.
<fo:block keep-together="always">
<fo:table>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="25mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>Content 1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Content 2</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>Content 3</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Content 4</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table>
</fo:block>
Many Thanks,
Craig.
_________________________________________________________________
MSN Messenger 7.0 - more features, more fun, still absolutely FREE!
http://messenger.msn.co.za?DI=1054&XAPID=2532
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--