In my extreme noobie-ness, I omitted some information about my xsl. As I
am learning more about this report,
I find that the screen is set up like this:
<fo:layout-master-set>
<fo:simple-page-master master-name="simple" page-height="21.59cm"
page-width="27.94cm" margin-top="0.5cm" margin-bottom="0.5cm"
margin-left="1cm" margin-right="1cm">
<!-- *** header setup *** -->
<fo:region-before
region-name="report-header" extent="5cm"/>
<!-- *** body setup *** -->
<fo:region-body margin-top="3cm"
margin-bottom="1.5cm"/>
<!-- *** footer setup *** -->
<fo:region-after region-name="report-footer"
extent="1cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
So I needed to move my fo:table code from my earlier posting from the
region-body section where it had been living up into the report-header
section. Now my column headers are showing up on each page, although I need
to tinker with the widths and that sort of thing.
Thanks to all for your patience and help!
Can anyone suggest a good FOP book?
Julia
-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 9:44 AM
To: [email protected]
Subject: Re: table-header question
Julia Reynolds wrote:
> I upgraded my fop version to 0.20.5, still no love from the fo:table.
> Is the code below correct?
> Should I be seeing headers on every page?
> <fo:table table-layout="fixed" table-omit-header-at-break="false">
> <xsl:for-each select="th[position () =1]/cell">
> <fo:table-column
> column-width="proportional-column-width(1)"/>
> </xsl:for-each>
> <fo:table-header>
> <xsl:apply-templates select="reporttable/th"/>
> <xsl:apply-templates
> select="reporttable/th/cell"/>
Perhaps the apply-templates above is not matching any nodes in the input
XML?
I recommend you generate the intermediate XSL-FO, which will give you some
insight here. See the website on how to do this:
http://xml.apache.org/fop/running.html#check-input
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]