xsl-list
[Top] [All Lists]

xsl help adding a footer with page number

2005-04-08 12:17:43
I have the following template specified and I was
trying to add a custom footer to this document.  I am
using FO and not html.  All I want in the footer is
the page number followed by the word "CURRENT".  How
can I do this? 

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:fo="http://www.w3.org/1999/XSL/Format";>

 <xsl:template match="/">
  <fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  
   <fo:layout-master-set>
     <fo:simple-page-master master-name="simple"
                   page-height="11in" 
                   page-width="8.5in"
                   margin-top=".5in" 
                   margin-bottom=".5in" 
                   margin-left=".5in" 
                   margin-right=".5in">
     <fo:region-body margin-top=".5in"/>
       <fo:region-before extent=".5in"/>
       <fo:region-after extent=".5in"/>
     </fo:simple-page-master>
   </fo:layout-master-set>
 
 
   <fo:page-sequence master-reference="simple">
        <fo:flow flow-name="xsl-region-body">
                <!-- I have fo:blocks displayed items here -->
        </fo:flow>
   </fo:page-sequence>
  </fo:root> 
 </xsl:template>


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--