[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSL FO questions


Subject: Re: [xsl] XSL FO questions
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Mar 2008 22:46:09 -0400

At 2008-03-23 12:15 +1100, Kamal wrote:
In word, if a table cell breaks across a page, it will put a line after the partial cell and/or before the cell on the next page. This isn't doable in FO is it?

It is ... the table border's width is a length value, and one of the five compound components of a length value is conditionality, and the initial value for conditionality is "discard", which is why you don't see the table border of the cell spanning a column boundary: it has been discarded.


Here is an example of how to retain the border, taken from my XSL-FO class:

<block border="solid"
       border-after-width.conditionality="retain"
       border-before-width.conditionality="retain"
       widows="0" orphans="0">
  This is a test with three longer lines in a block.
</block>

I hope this helps.

. . . . . . . . . . . Ken


-- Upcoming: UBL Apr.22,24; genericode code lists Apr.23; Rome,Italy 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 Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal


Current Thread
Keywords