[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl help adding a footer with page number

Subject: xsl help adding a footer with page number
From: josh higgins <doopsterus@xxxxxxxxx>
Date: Fri, 8 Apr 2005 12:17:43 -0700 (PDT)
 xsl help adding a footer with page number
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.