Subject: RE: [xsl] xsl:fo - keeps and breaks problem.. From: "Andy Joslin" <andy.joslin@xxxxxxxx> Date: Thu, 12 Sep 2002 11:07:44 +0100 |
Thanks Dave, I've just been playing around with this but to no avail. I haven't exhausted every permutation yet though, so I'll keep on with it... I notice on the FOP site that "keep-with-next", though implemented, is marked as broken, so perhaps it's a question of working out exactly what the limitations are. Maybe it's also time I played around with XEP, so I'll try the same stylesheet with that and see what happens. >> Perhaps the keep-with-previous (or next) with a given strength for its successor, slightly >> higher or lower than the opposing keep. 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. regards Andy How about the strength of the keep? http://www.w3.org/TR/xsl/slice7.html#keep-with-previous and http://www.w3.org/TR/xsl/slice4.html#keepbreak Keep conditions are imposed by the "within-page", "within-column", and "within-line" components of the "keep-with-previous", "keep-with-next", and "keep-together" properties. The refined value of each component specifies the strength of the keep condition imposed, with higher numbers being stronger than lower numbers and the value always being stronger than all numeric values. Perhaps the keep-with-previous (or next) with a given strength for its successor, slightly higher or lower than the opposing keep. That would add weight to the glue one side over the other? That presumes that fop implements them. See fop literature for details HTH 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:fo - keeps and breaks, DPawson | Thread | RE: [xsl] xsl:fo - keeps and breaks, DPawson |
[no subject], Kalyan Kumar Mudumba | Date | [xsl] Dynamic include, Cédric Claus |
Month |