[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] prevent table header from repeating at very row in XSLFO


Subject: [xsl] prevent table header from repeating at very row in XSLFO
From: "a kusa akusa8@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Jul 2014 15:51:03 -0000

Hi:

I have a table where I want the header to repeat on every page. I am
using renderx XEP and I have set the attribute '"
rx:table-omit-initial-header="true"'.

This works in regards to repeating the header on every page. But it
also repeats the header at every row.

How do I prevent the header from repeating at every row ?

Here is my sample table.

<fo:table table-layout="fixed" rx:table-omit-initial-header="true">
<fo:table-column column-width="100mm"/>
<fo:table-column column-width="20mm"/>
<fo:table-header>
<fo:table-row text-decoration="underline">
<fo:table-cell>
<fo:block text-decoration="underline">Col1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-decoration="underline">Col2</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>Content 1</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>Content 2</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>

Thank you in advance for all the help.


Current Thread