- From: G. Ken Holman <gkholman@CraneSoftwrights.com>
- Date: Wed, 02 Oct 2013 19:40:35 -0400
- To: www-xsl-fo@w3.org
At 2013-10-02 07:09 -0700, Konstanty Pilecki wrote: >I need, in my XSL-FO code (processed by renderX), to have a special page >model for the one before last page within a page sequence. The page sequence >is forced to “end-on-evenâ€, then the last but one page is always an odd >page. I know how can I determine either first or last a page of the >sequence, but how can I do it with this? I think you are out of luck using XSL 1. Since the only related test available to you is page-position="last", I can think of no way to avoid matching on other tests for alternatives. RenderX has extensions, as well as access to the area tree after formatting is done. Perhaps you can find the second last page in the area tree and massage its geometry as part of a post-process. I hope this helps. . . . . . . . . . Ken -- Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/ | G. Ken Holman mailto:gkholman@CraneSoftwrights.com | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Received on Wednesday, 2 October 2013 23:41:19 UTC