Re: [xsl] Bottom border missing when page breaks in the middle of a row

Subject: Re: [xsl] Bottom border missing when page breaks in the middle of a row
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 05 Apr 2006 18:17:00 -0400
At 2006-04-05 07:52 -0500, Kelly, David wrote:
I am creating tables that have fairly deep rows and am allowing rows to
break across a page border.  The bottom border of a broken cell
disappears when the row breaks across a page.

Yes, that is the initial value ... but you can specify the behaviour you want.


The pertinent parts of my XSL:FO look like this:

<fo:table border-end-precedence="force" border-collapse="collapse"
border-style="solid" border-width="1pt">
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell  number-columns-spanned="" number-rows-spanned="5"
border-style="solid" border-width="1pt">

Add above: border-after-width.conditionality='retain'


        <fo:block>A bunch of text here <fo:block>
      </fo:table-cell>
      <fo:table-cell number-columns-spanned="" number-rows-spanned=""
border-style="solid" border-width="1pt">various other text
here<fo:block>
        Hostname</fo:block>

And for every other column where you want to see the border on a page-spanned cell.


I have played with collapse-with-precedence and border precedences
between the table and the table-cells to no effect.

The conditionality property of lengths is used to control effects such as this at the start and end of reference areas. It is also used for space specifications.


I am using xalan-j_2_6_0, xerces-2_6_2, and Antennhouse 3.3.  Is there a
setting or strategy to keep the bottom table border present in a broken
row, or is this a formatting engine issue?

I've tested the above with AX 3.4 and it works just fine ... it has worked for a long time.


This is covered in my PDF book on page 285, and on the second day of the hands-on training we deliver.

I hope this helps.

. . . . . . . . . . Ken

--
Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XML/XSLT/XSL-FO training:    Birmingham, UK 2006-05-22/25
World-wide on-site corporate, govt. & user group XML/XSL 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