[xsl] FOP flow question

Subject: [xsl] FOP flow question
From: mark bordelon <markcbordelon@xxxxxxxxx>
Date: Mon, 26 Oct 2009 10:36:27 -0700 (PDT)
Dear Members,

After a break from fop frustration, I have reduced my fop transform to the simplest as I build it up, studying from ww3schools ftp xslt tutorial. Unfortuantely, even here I am having mixed success that someone here might be able to help with. I will eventually learn all this at a class I am taking with Ken, but need this working before then, unfortunately. Any help much appreciated!

1) (region-bfore) I am getting errors about having two flow tags. When I change the first to static-content, nothing appears at all in this region.
How can you put text into two regions of the same page-sequence?

2) (region-after) The "denominator" of the page footer does not display. I have looked through the documentation and cannot figure what is wrong.

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; exclude-result-prefixes="fo">
<xsl:output method="xml" version="1.0" omit-xml-declaration="no" indent="yes"/><xsl:strip-space elements="*"/>

<!--master template-->
<xsl:template match="TEAMS_ASSET_FILE">
<fo:simple-page-master master-name="cover_letter" page-width="8.5in" page-height="11in" margin-top="0.5in" margin-bottom=".5in" margin-left="0.5in" margin-right="1in">
	<fo:region-body margin-left="0.50in" margin-top="1.25in" />
	<fo:region-before extent="1in"/>
	<fo:region-after extent="0.5in"/>
<fo:page-sequence master-reference="cover_letter" force-page-count="no-force">
<fo:flow flow-name="xsl-region-before"> 
<fo:table table-layout="fixed">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-family="LinotypeSyntaxItalics" font-size="8pt" text-align="right">
Page <fo:page-number/> of <fo:page-number-citation ref-id="last-page"/>

<fo:flow flow-name="xsl-region-body">



Current Thread