Subject: Re: [xsl] FOP flow question From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 26 Oct 2009 16:17:09 -0400 |
I will eventually learn all this at a class I am taking with Ken, but need this working before then, unfortunately.
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:root>
<fo:layout-master-set>
<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:simple-page-master>
</fo:layout-master-set>
<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:table> </fo:flow>
<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:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body"> ...content... </fo:flow>
</fo:page-sequence>
</fo:root> </xsl:template>
</xsl:stylesheet>
-- Upcoming: hands-on XSLT, XQuery and XSL-FO Washington DC Nov 2009 Interested in other classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] FOP flow question, mark bordelon | Thread | RE: [xsl] FOP flow question, W Charlton |
Re: [xsl] "Concatenate two element , Martin Honnen | Date | [xsl] Can an XSLT document invoke a, Costello, Roger L. |
Month |