AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/SVG/MathML Conformance

XSL-FO

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" for fo:block, but the page broke during the following description "xxxxx ...". Why isn't the specification keep-with-next.within-page effective?
<fo:block keep-with-next.within-page="always">
  <fo:block >xxxxx ...</fo:block>
</fo:block>
<fo:block >
  <fo:block >yyyyy ...</fo:block>
</fo:block>
[No.2005061001]
A. 

It is not because the specification of keep-with-next.within-page is ineffective. If you do not want page to break in fo:block including "xxxxx ...", please specify keep-together.within-page="always" as follows:

<fo:block keep-with-next.within-page="always">
  <fo:block keep-together.within-page="always">xxxxx ...

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