xsl-list
[Top] [All Lists]

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

2014-07-22 10:51:18
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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] prevent table header from repeating at very row in XSLFO, a kusa akusa8(_at_)gmail(_dot_)com <=