This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
fo:block keep-together
- From: "Jan Weiss" <jweiss at bct-technology dot com>
- To: "xsl-list" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 15 Nov 2001 16:15:42 +0100
- Subject: [xsl] fo:block keep-together
- Reply-to: xsl-list at lists dot mulberrytech dot com
hi all,
i have a problem to keep blocks in the rows of a table togehter.
each row can consist of two <fo:blocks>. if i reach the end of a page, the
blocks are devided, one is on the first the other one on the next page.
i would like to keep the two blocks together. if there is not enough space
on the current page, the whole row should be on the next page.
so a row should never be on two pages!
is there a way to do that? i tried:
<fo:table-row>
<fo:table-cell>
<fo:block keep-with-next="always">
<xsl:value-of select="jhkhkj"/>
</fo:block>
<fo:block>
<xsl:value-of select="dfhgf"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
thanx!!!
jan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list