[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Keep two FO rows together

Subject: Re: Keep two FO rows together
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 2 Apr 2002 09:49:12 +0100
keep with previous.within page
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.