W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2006

xslfop footer

From: rjk <emulsifier@gmail.com>
Date: Mon, 20 Nov 2006 07:48:36 -0800 (PST)
Message-ID: <7444745.post@talk.nabble.com>
To: www-xsl-fo@w3.org

Hello I am having trouble getting a footer to show up on every page of my pdf
generated using FOP.  After reading as much information as I could find on
the subject I still can't get it to work.  I can get it to fall directly
after my body, but when I do that the footer only shows up on the last page. 
Any help would be appreciated.  Here is what my xsl file looks like: (edited
to not take up dozens of pages)

    <xsl:template match="/">
        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
			<fo:layout-master-set>
				<fo:simple-page-master master-name="page" page-height="11in"
page-width="8.5in" margin-top="0cm"  margin-bottom="0cm" margin-left="0cm"
margin-right="0cm">
				<fo:region-before/>
				<fo:region-body/>
				<fo:region-after extent="2cm"/>
				</fo:simple-page-master>          
				<fo:page-sequence-master master-name="all">
					<fo:repeatable-page-master-alternatives>
						<fo:conditional-page-master-reference master-reference="page"
page-position="first"/>
					</fo:repeatable-page-master-alternatives>
				</fo:page-sequence-master>
			</fo:layout-master-set>
			<fo:page-sequence master-reference="all">
				<fo:flow flow-name="xsl-region-body">
					<fo:block>
					</fo:block>
				</fo:flow>
			</fo:page-sequence>
			<fo:page-sequence master-reference="all">
				<fo:flow flow-name="xsl-region-after">
					<fo:block>
					</fo:block>
				</fo:flow>
			</fo:page-sequence>
		</fo:root>
	</xsl:template>

Sorry for the noob-like request but I have been trying to figure this out
for the better part of 2 days now :(
-- 
View this message in context: http://www.nabble.com/xslfop-footer-tf2669796.html#a7444745
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Monday, 20 November 2006 18:38:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT