Subject: Re: Keep two FO rows together
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 2 Apr 2002 09:49:12 +0100
|
Hi David,
> I have a table with data that is "grouped" every two rows. The first
> row has data in cells, and the second row is a span, and it has
> additional info. How can I stop a page break between the two rows?
Have you tried using keep-with-next/keep-with-previous on the rows? I
*think* that:
<!-- first of pair -->
<fo:table-row keep-with-next.within-page="always">
...
</fo:table-row>
<!-- second of pair -->
<fo:table-row keep-with-previous.within-page="always">
...
</fo:table-row>
should work (and would work even if one of the keep-with-* properties
were omitted).
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|