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

Anderson, Paul Paul.Anderson at compuware.com
Thu Feb 16 11:57:02 PST 2012


Alas, you are correct. When I inspected the use case, I neglected to see
that the developer must duplicate the header rows at the start of the
table body. When the FO has the required changes to the table and the
headers, but does not duplicate the headers at the start of the body,
you see the behavior I described. 
 
I noticed that the XSL must remember to set keep-with-next on the header
row(s) in the body or they can get orphaned.
 
Thank you for the insight and I apologies for the false alarm.
 
Best regards,
 
Paul

________________________________

From: Kevin Brown [mailto:kevin at renderx.com] 
Sent: Wednesday, February 15, 2012 8:09 PM
To: 'RenderX Community Support List'; Anderson, Paul
Subject: RE: [xep-support] Problem with
rx:table-omit-initial-header="true"



And a sample attached showing that it works as expected and not as you
have written. Please examine this sample. And again, send us the FO if
you cannot find the error in what you are doing.

 

Kevin Brown

RenderX

 

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

 

Greetings,

 

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

 

 



!DSPAM:87,4f3d5f9d63732081910099!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20120216/7ee2a1e1/attachment.html>


More information about the Xep-support mailing list