O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Set up headers that include generated text

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

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

  1. Open static-content.xsl.
  2. Find the following section:
    <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="insertVariable"> <xsl:with-param name="theVariableID" select="'Body odd header'"/> <xsl:with-param name="theParameters"> <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"/> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required