[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl:fo - keeps and breaks problem..


Subject: Re: [xsl] xsl:fo - keeps and breaks problem..
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 12 Sep 2002 20:49:48 +0200

Andy Joslin wrote:
I'm using XSL/FOP to generate PDF files from an XML source document...
                ^^^
This is the problem.

The problem that I'm having is when trying to prevent any one foo result
from splitting over two pages. I'd like to keep all the contents of one
foo match together (ignore the nested ones for now); so either encourage
it to keep on one page or break and go to the next.

FOP implements keep-with-* and keep-together for table rows only. If you want to keep blocks together with FOP, put them into a blind table and use keep-with-next="always" on the table row, roughly as demonstrated here for keep-together: http://marc.theaimsgroup.com/?l=fop-user&m=102996364816596&w=2

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords
xml