[xep-support] Re: Problem with rx:table-omit-initial-header="true"

From: Kevin Brown <kevin@renderx.com>
Date: Wed Feb 15 2012 - 17:00:48 PST



I am trying to understand what you wrote but I am confused. There is no
issue in RenderX as I just did this about one hour ago on another project.
If you think there is a problem, you need to send your FO to us for


What you do is .


1) Set the rx:table-omit-initial-header="true" on the table *and* be
sure to include the rx namespace in your document

2) Put the repeating header you wish (perhaps the standard header with
"-Continued" or something) in the fo:table-header as <fo:table-row> element
or elements

3) For the first header at the table start, put that <fo:table-row>
element(s) inside your table as the first row(s)


As in .


<fo:table rx:table-omit-initial-header="true">




<!-This will only show on the repeated headers, not on the first -->

                <fo:block>I am the header - continued</fo:block>







                <!-This is the first table header row that appears at the
start -->

                <fo:block>I am the header</fo:block>



                                <!-rest of table rows here -->




Kevin Brown



From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Anderson, Paul
Sent: Wednesday, February 15, 2012 4:37 PM
To: xep-support@renderx.com
Subject: [xep-support] Problem with rx:table-omit-initial-header="true"




We're trying to leverage the rx:table-omit-initial-header attribute to
provide a running title for a table when that table spans multiple pages.
The working sample on the http://www.renderx.com/usecasestest.html page
shows that rx:table-omit-initial-header="true" is supposed to omit the first
fo:table-row in the fo:table-header region at the start of the table and
include all table-header rows if the table spans a page break. We can't seem
to make the rx:table-omit-initial-header attribute work as advertised.


As outlined on the http://www.renderx.com/usecasestest.html page, we've
adjusted our xsl to do the following:

- If there's a title on the table, set rx:table-omit-initial-header="true"
on the fo:table element, otherwise, set it to "false".

- Add the table title in an additional fo:table-row in the fo:table-header
region before the other table header row(s).


In the output, every table that had rx:table-omit-initial-header="true"
renders without _any_ of the table header rows at the start of the table
(this is a bad thing). We expected it to omit the first header row, not all
of them! If the table spans a page break, all the table header rows,
including the running title, appear at the top of the next page (this is
working as desired).


We have dissected our input FO file and are confident that the input
structure is as described in the use case.


We are using XEP version 4.19, build 20110414. Please advise regarding a
possible patch or workaround. Thank you for your help.


Best regards,


Paul Anderson

Information Developer - Codex Administrator

Compuware Corporation - +1-313-227-2031



(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
Received on Sun Apr 29 23:50:25 2012

This archive was generated by hypermail 2.1.8 : Sun Apr 29 2012 - 23:50:26 PDT