FOP Retrieve-Marker

Jean-Pierre Lamon <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Hi all,

[email protected]

I would like to display a chapter value on each page header (in one 
language on even, another on odd but that's not the problem).
I'm using  markers with retrieve-marker.

This works perfectly with FOP, but not with XML2PDF for example. Am I 
doing something wrong? Could someone be so kind to correct my code ;-)
I know retrive-marker must be just under a flow right?

                 <fo:static-content flow-name="Header-even">
                     <fo:table width="100%" table-layout="fixed" 
table-omit-header-at-break="false">
                         <fo:table-column column-width="8%"/>
                         <fo:table-column column-width="42%"/>
                         <fo:table-column column-width="42%"/>
                         <fo:table-column column-width="8%"/>
                         <fo:table-body>
                             <fo:table-row>
                                 <fo:table-cell>
                                     <fo:block text-align="center">
                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell>
                                     <fo:block text-align="center" 
font-size="9pt">
                                         <fo:inline 
text-align="center">&#xA0;</fo:inline>
                                         <fo:block/>
                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell>
                                     <fo:block text-align="center" 
font-size="9pt">
                                         <fo:inline 
text-align="center">&#xA0;</fo:inline>
                                         <fo:block/>
                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell>
                                     <fo:block/>
                                 </fo:table-cell>
                             </fo:table-row>
                             <fo:table-row>
                                 <fo:table-cell>
                                     <fo:block text-align="center">
                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell text-align="left">
                                     <fo:block font-size="9pt" 
font-style="italic" text-align="left" border-bottom="0.5pt solid black">

---> <fo:retrieve-marker retrieve-class-name="chapterF"/> -->


                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell text-align="right">
                                     <fo:block font-size="9pt" 
text-align="right" border-bottom="0.5pt solid black">
                                         <fo:inline>
                                             Bibliographie de l'histoire 
suisse
                                             <xsl:if 
test="collection/AdditionalTag/yearIssueNumber">
                                                 <xsl:value-of 
select="concat(' ',collection/AdditionalTag/yearIssueNumber)"/>
                                             </xsl:if>

                                         </fo:inline>
                                     </fo:block>
                                 </fo:table-cell>
                                 <fo:table-cell>
                                     <fo:block/>
                                 </fo:table-cell>
                             </fo:table-row>

                         </fo:table-body>
                     </fo:table>
                 </fo:static-content>

Marker definition :
<xsl:if test="@Value2">
                                             <fo:marker 
marker-class-name="chapterF">
                                                 <xsl:value-of 
select="@Value2"/>
                                             </fo:marker>
Thx and regards
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.