Wednesday, May 03, 2006

Problems with keep-together.within-page="always" for preventing Page-Breaks

I know this Blog has more to do with xsl:fo than with Java but I had another Problem with my Stylesheet.
I wanted to add keep-together.within-column="always" to a <fo:table> tag but it did'nt keep the block together. So I googled and found out , that you have to add
keep-with-next="always" to your <fo:table-row> tag
For example :
<fo:table-row keep-with-next="always">