Subject: Re: [xsl] fo:multi-switch or alternative|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Sep 2012 16:33:51 -0400
I want to do something like the following:
When a fo:block A in a flow appears not on page one, where it normally goes, but on page two, fo:block B on page 1 should be made visible, and fo:block C on page 1 should no longer be visible.
I don't know if something like the above can be achieved with fo:multi-switch, and I don't know what FOP processors support fo:multi-switch? Apache FOP?
Or are there other ways the above can be achieved?
I have a feeling that it is not at all possible in XSL-FO alone. It is impossible to make use of information that is first available when the formatting has taken place? Some trick is probably necessary?
I need a little help and some hints before I start experimenting for real.
table - table-omit-header-at-break="true" table-header table-cell retrieve B retrieve C table-body table-cell block define marker "B" with block B define marker "C" as empty (redundant, but helps maintenance) block A block define marker "B" as empty define marker "C" with block C
-- 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/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal