OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: How to get a Multilined footer?


Hi,
Sorry "cross posting" I mistakenly posted this to the docbook mailing list and not the
docbook-app mailing list.  I will spank myself for this error!
   
  I have in my customization xsl file for generating PDFs these lines
...
  
  <?xml version='1.0'?>
  <xsl:stylesheet
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:fo="http://www.w3.org/1999/XSL/Format"
      version="1.0">
  
  <xsl:template name="initial.page.number">auto-odd</xsl:template>
  <xsl:template name="page.number.format">1</xsl:template>
  
  <xsl:template name="footer.content">
     <xsl:param name="pageclass" select ="''" />
     <xsl:param name="sequence" select ="''" />
     <xsl:param name="position" select ="''" />
     <xsl:param name="gentext-key" select ="''" />
  
     <xsl:choose>
         <xsl:when test="$postion='center'" >
         <fo:page-number/>
         <xsl:text>END OF PAGE</xsl:text>
         </xsl:when>
         <xsl:otherwise>
          <!-- no output -->
         <xsl:otherwise/>
  </xsl:choose>
  
  ... which gives me footers that look something like this ...
  
  
                                       1END OF PAGE
  
  
  ... when I want ...
  
                                                 1
                                        END OF PAGE
  
  ... what do I need to chane?
  
  Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]