Re: [xsl] Keep two FO rows together

Subject: Re: [xsl] Keep two FO rows together
From: "David B. Bitton" <david@xxxxxxxxxxxxxx>
Date: Tue, 02 Apr 2002 10:56:08 -0500
Thanks.  As always, it worked perfectly.

--

David B. Bitton
david@xxxxxxxxxxxxxx
www.codenoevil.com

Code Made Fresh DailyT
----- Original Message ----- 
From: "Jeni Tennison" <jeni@xxxxxxxxxxxxxxxx>
To: "David B. Bitton" <david@xxxxxxxxxxxxxx>
Cc: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread