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

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

Subject: RE: xsl:fo - keeps and breaks problem..
From: "Andy Joslin" <andy.joslin@xxxxxxxx>
Date: Thu, 12 Sep 2002 15:11:02 +0100
10 12 ely place
I'm afraid not, I've got approx 70 odd nodes of the same name that
contain varying amounts of information, and in different circumstances,
different nodes are pulled in from the db, etc.

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 assumed that this might be a common requirement, perhaps with
paragraphs that you didn't want to split up.


Always do this..

<para></para><!-- template match on para -->


But disallow this under any circumstances...



At the end of the day, I'm pleased with the results I've got so far, I'm
just being a bit of a perfectionist and it feels like it should be an
easy one to crack..



> Part of the problem though is that I'm using one template for all the 
> results, so I want to be able to add a single attribute to the 
> fo:block that applies to all situations.

Can't you tell from the context in the source XML
if its a 'breakable' point? Then add the variant strength?

regards DaveP

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


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.
First Name
Last Name
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-2013 All Rights Reserved.