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

Subject: RE: [xsl] xsl:fo - keeps and breaks problem..
From: "Andy Joslin" <andy.joslin@xxxxxxxx>
Date: Thu, 12 Sep 2002 16:09:45 +0100
Nope, just tried it and no joy... Shame, as it's about the only thing
that I haven't managed to sort out with the current document I'm working
on. 

cheers


Andy



-----Original Message-----
From: Jeni Tennison [mailto:jeni@xxxxxxxxxxxxxxxx] 
Sent: 12 September 2002 15:52
To: Andy Joslin
Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] xsl:fo - keeps and breaks problem..


Hi Andy,

> So I have to build something generic that 'knows' to break if it is 
> approaching the bottom of a page. Essentially, I want to state a rule 
> that says 'if this fo:block cannot be entirely displayed by the end of

> this page, break and start on a new page'...

I think that this is what keep-together is for, so you'd do something
like:

  <fo:block keep-together.within-page="always">
    ...
  </fo:block>

and that should keep all the content of the fo:block together within the
page.

But then I don't think that it's implemented by FOP, from their list of
features...

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


________________________________________________________________________
This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k Limited does not accept any responsibility for any loss or damage in any way from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745

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


Current Thread