Set up headers that include generated text

Set up a header to include generated text such as a running header or page number.

From your specification, you know the odd body page includes a running header and the product logo.

  1. Find the following template in your copy of static-content.xsl:
    <xsl:template name="insertBodyOddHeader"> <fo:static-content flow-name="odd-body-header"> <fo:block xsl:use-attribute-sets="__body__odd__header"> <xsl:call-template name="getVariable"> <xsl:with-param name="id" select="'Body odd header'"/> <xsl:with-param name="params"> <prodname> <xsl:value-of select="$productName"/> </prodname> <heading> <fo:inline xsl:use-attribute-sets="__body__odd__header__heading"> <fo:retrieve-marker retrieve-class-name="current-header"/> ...