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

add a text block at 3rd page of a sequence

From: Christoph Rupp <crupp@umc-web.de>
Date: Tue, 02 Sep 2003 09:55:58 +0200
Message-ID: <3F544D0E.6060200@umc-web.de>
To: www-xsl-fo@w3.org

Dear list,

i have the following problem:

i have a page-sequence:

     <fo:page-sequence-master master-name="seq01">
       <fo:repeatable-page-master-reference master-reference="chap01" />
     </fo:page-sequence-master>

In my .fo file there's a long text which is inserted in xsl-region-body. 
fop (0.20.5) creates a document with 5 pages. It works fine.

But now i have the requirement that i must add a text block on page 3. 
And i haven't found a way how i could do that. If i create a block in 
static-content of the page-sequence, it will appear on *every* page. So 
i tried to change the page-sequence-master, but i haven't found a way 
how i could do that. 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?

TIA
Chris
Received on Tuesday, 2 September 2003 04:10:16 GMT

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