I cannot get the first title page to produce a header and footer in PDF output. All other pages contain the header and footer desired. Is there another setting that is causing this behavior?

I'm using Xalan and FOP 0.94. I also tried FOP 0.92beta with the same results.

Here is my customization: (I'm passing in $headertext elsewhere)

<xsl:template name="header.content"> <xsl:param name="pageclass" select="''"/>
 <xsl:param name="sequence" select="''"/>
 <xsl:param name="position" select="''"/>
 <xsl:param name="gentext-key" select="''"/>

 <xsl:variable name="candidate">
   <!-- sequence can be odd, even, first, blank -->
   <!-- position can be left, center, right -->
   <xsl:choose>

     <xsl:when test="$sequence = 'odd' and $position = 'center'">
               <fo:block>
                   <xsl:copy-of select = "$headertext"/>
               </fo:block>
     </xsl:when>

     <xsl:when test="$sequence = 'even' and $position = 'center'">
               <fo:block>
                   <xsl:copy-of select="$headertext"/>
               </fo:block>
     </xsl:when>

     <xsl:when test="$sequence = 'first' and $position = 'center'">
               <fo:block>
                   <xsl:copy-of select="$headertext"/>
               </fo:block>
     </xsl:when>

   </xsl:choose>
 </xsl:variable>

   <!-- Does runtime parameter turn off blank page headers? -->
   <xsl:choose>
     <xsl:when test="$sequence='blank' and $headers.on.blank.pages=0">
       <!-- no output -->
     </xsl:when>

     <xsl:otherwise>
       <xsl:copy-of select="$candidate"/>
     </xsl:otherwise>
   </xsl:choose>

</xsl:template>


Thanks,
Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to