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

Running header

From: Olaf Wentzien/PPI <olaf.wentzien@ppi.de>
Date: Thu, 12 Sep 2002 13:41:03 +0200
To: www-xsl-fo@w3.org
Cc:
Message-ID: <OF49F0E325.7421C9D1-ONC1256C32.003EC911@ppinet.de>

Hi,

I have a "running header" contained in the "xsl-region-before".

the definition for this region contains a table, where in the second row
the following marker is retrieved:


.....
...
..
   <!-- second row of table -->

    <fo:table-row height="0.5cm">
         <fo:table-cell border-style="solid" padding-left="1mm" 
padding-top="1mm" 
                      border-width="0.5pt" number-columns-spanned="3">

             <fo:retrieve-marker retrieve-class-name="sect-head" 
 retrieve-position="first-starting-within-page" 
                                 retrieve-boundary="page" /> 

         </fo:table-cell>
    </fo:table-row>
...
..
.

the marker itself is set in a template like this:

...
..
.


  <xsl:template match="SectionTitle">
     <fo:block space-before.optimum="2pt" font-size="10pt" 
               font-family="Helvetica" font-weight="bold" 
text-align="center">

       <fo:marker marker-class-name="sect-head" >
           <fo:block>
               <xsl:value-of select="."/>
           </fo:block>
       </fo:marker>

     </fo:block>
 </xsl:template>

...
..
.


this works fine, and I have a new section title appearing in the page 
header
whenever section changes. But if the section contains more than 1 page, 
the section
title will not be repeated on the consecutive pages. so I get:



section 1
-----------
section 2
-------------
<empty>
--------------
<empty>
--------------
section 3




and so on.



This is what I would like to have:


section 1
-----------
section 2
-------------
section 2
--------------
section 2
--------------
section 3





any suggestions ?

TIA Olaf


-------------------------------------------------------

Olaf Wentzien

PPI Financial Systems GmbH
Hindenburgstraße 49, D-22297 Hamburg
Telefon : 040 / 22 74 33 - 343, Mobil : 0160 / 367 74 34
Telefax : 040 / 22 74 33 - 320, Email : olaf.wentzien@ppi.de
Received on Thursday, 12 September 2002 07:41:35 GMT

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