This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Keep two FO rows together
Thanks. As always, it worked perfectly.
--
David B. Bitton
david@codenoevil.com
www.codenoevil.com
Code Made Fresh DailyT
----- Original Message -----
From: "Jeni Tennison" <jeni@jenitennison.com>
To: "David B. Bitton" <david@codenoevil.com>
Cc: <xsl-list@lists.mulberrytech.com>
Sent: Tuesday, April 02, 2002 3:49 AM
Subject: Re: [xsl] Keep two FO rows together
> 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