This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]