xsl-list
[Top] [All Lists]

Re: [xsl] keep togethers for table-row causing problems

2007-02-22 18:53:47
At 2007-02-22 15:45 -0800, ms wrote:
In order to prevent table-rows from splitting across
pages, I used the keep-together-within-page="always"
for fo:table-row. This is causing a new issue. renderx
throws an exception of "no space for an element.Trying
to recover" and the transformation fails. Can anybody
suggest a way that will prevent the rows from breaking
over pages?

In XSL-FO if you say "always" and there isn't sufficient room for what you are trying to keep together, that triggers an overflow error. You can't prevent a row from breaking over pages if the row doesn't fit on the page.

Try a numeric value instead of "always" ... when the row won't fit it will break but it won't trigger an overflow error.

I hope this helps.

. . . . . . . . . . Ken

--
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>