W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2003

Re: add a text block at 3rd page of a sequence

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue, 02 Sep 2003 07:35:35 -0400
Message-Id: <5.2.0.9.0.20030902073258.01dfc008@pop.storm.ca>
To: www-xsl-fo@w3.org

At 2003-09-02 09:55 +0200, Christoph Rupp wrote:
>i have a page-sequence:
>
>     <fo:page-sequence-master master-name="seq01">
>       <fo:repeatable-page-master-reference master-reference="chap01" />
>     </fo:page-sequence-master>
>...
>But now i have the requirement that i must add a text block on page 3.
>...
>I would need something like
>
>       <fo:conditional-page-master-reference 
> master-reference="chap01_PAGE3" page-position="3" />
>
>in my page-sequence, but this is not allowed.
>
>How can i work around this problem?

     <fo:page-sequence-master master-name="seq01">
       <fo:repeatable-page-master-reference master-reference="chap01"
           maximum-repeats="2" />
       <fo:single-page-master-reference master-reference="chap01_PAGE3" />
       <fo:repeatable-page-master-reference master-reference="chap01" />
     </fo:page-sequence-master>

I hope this helps.

....................... Ken


--
Next public European delivery:  3-day XSLT/2-day XSL-FO 2003-09-22
Instructor-led on-site corporate, government & user group training
for XSLT and XSL-FO world-wide:  please contact us for the details

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 0-13-140374-5                               Definitive XSL-FO
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X               Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:     http://XMLGuild.info
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
Received on Tuesday, 2 September 2003 07:36:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT