AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Block

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  I specified keep-with-next.within-page="always". However, the page breaks between the next block. Why? [No.2004032509]
A. 

Your FO is as follows:

<fo:table keep-with-next.within-page="always">
 .......
</fo:table>
<fo:block />
<fo:block>Sample</fo:block>

XSL Formatter generates the area of empty fo:block. Therefore, the next area needed by keep-with-next.within-page="always" is this empty block(<fo:block />). The page might break between <fo:block /> and next <fo:block >.
Empty fo:block generates empty block-area without line-area. The block-progression-dimension value of the area is 0. Therefore, it is never usually seen. In the CSS2 Specification referred to from the W3C Recommendation for XSL-FO, there is the following examples.

In this sample, the line appears by specifying the border property for empty block. This means the empty block generates the area.


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.