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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Fwd: Multiline footer


Hi,
  
  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



What are the most popular cars? Find out at Yahoo! Autos
--- Begin Message ---
Hi,
 
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


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.--- End Message ---


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