running headers

Hi

I am trying to put different title for different reports using FOP.
However, in some cases the report goes to multiple pages and I need the
title in each of the pages. So I was trying to use running headers as
suggested at http://www.dpawson.co.uk/xsl/sect3/running.html

However, when I run the FOP it says that
[ERROR] property 'retrieve-marker-name' ignored

Consequently it doesn't print any headers dynamically. Is retrieve-marker
not implemented in FOP or am I doing something wrong? Is there any other
way to ensure that I get the heading in each of the reports.

Thanks in advance.

Here is the relevant portion of the xsl:
        <fo:layout-master-set>
          <fo:simple-page-master
            margin-right="1cm"
            margin-left="1.5cm"
            margin-bottom="1cm"
            margin-top="0.5cm"
            page-width="25cm"
            page-height="19cm"
            master-name="pagesetting">
            <fo:region-before extent="0.5cm"/>
            <fo:region-body margin-top="0.5cm" margin-bottom="1cm"/>
            <fo:region-after extent="1cm"/>
          </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="pagesetting">
          <xsl:apply-templates select='ReportGroup/Footer'/>
          <xsl:call-template name='title'/>
          <xsl:apply-templates select='ReportGroup'/>
        </fo:page-sequence>

......

    <xsl:template name="title">
      <fo:static-content flow-name="xsl-region-before">
        <fo:block>
          <fo:table table-layout="fixed" text-align="center">
          <fo:table-column column-width="10cm" />
          <fo:table-column column-width="3cm" />
            <fo:table-body>
              <fo:table-row>
                <fo:table-cell/>
                <fo:table-cell display-align="center" border="0.1pt solid
black" padding="1pt">
                  <fo:block font-size="6pt">HIGHLY CONFIDENTIAL</fo:block>
                </fo:table-cell>
              </fo:table-row>
            </fo:table-body>
          </fo:table>
          <fo:block space-after.optimum="5pt"/>

          <fo:table table-layout="fixed" background-color="rgb(50,50,50)"
color="white">
          <fo:table-column column-width="5cm" />
          <fo:table-column column-width="12cm" />
          <fo:table-column column-width="6cm" />
          <fo:table-body>
            <fo:table-row >
                <fo:table-cell display-align="center">
                  <fo:block font-size="14pt" text-align="start" font-weight
="bold">
                    Precision Risk
                  </fo:block>
                </fo:table-cell>
                <fo:table-cell display-align="after">
                  <fo:block text-align="center">
                    <fo:block font-weight="bold" font-size="12pt">
                      <fo:retrieve-marker retrieve-marker-name
="page-title-Heading1"
                                          retrieve-boundary="page-sequence"
                                          retrieve-position
="first-starting-within-page"/>
                    </fo:block>
                    <fo:block space-after.optimum="1pt" font-size="8pt">
                      <fo:retrieve-marker retrieve-marker-name
="page-title-Heading2"
                                          retrieve-boundary="page-sequence"
                                          retrieve-position
="first-starting-within-page"/>
                    </fo:block>
                  </fo:block>
                </fo:table-cell>
                <fo:table-cell display-align="center">
                  <fo:block text-align="end">
                    <fo:external-graphic src="file:jpmorganlogo.jpg"/>
                  </fo:block>
                </fo:table-cell>
            </fo:table-row >
          </fo:table-body>
          </fo:table>
        </fo:block>
      </fo:static-content>
    </xsl:template>

Rajeev Agrawal
Tel: 212-622-1477


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

Received on Wednesday, 19 February 2003 11:12:33 UTC