[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 2007-02-22 15:45 -0800, ms wrote:
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
Re: [xsl] keep togethers for table-row causing problems
Subject: Re: [xsl] keep togethers for table-row causing problems From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 22 Feb 2007 20:40:06 -0500 |
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@xxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] keep togethers for table-row , ms | Thread | [xsl] XHTML table of contents with , Daniel K. Schneider |
Re: [xsl] Books on XSLT/XPATH, Kamal Bhatt | Date | Re: [xsl] Books on XSLT/XPATH, M. David Peterson |
Month |