xsl-list
[Top] [All Lists]

Re: Page break with XSL-FO

2003-05-17 11:18:14
Mukul wrote:
I want that in the PDF, when a new <a> tag comes in
<tag> , the output in PDF should start from a new
page.

Add a break-before="page" attribute to the block generated
by the <a> element.
If this proves to be diffucult, check whether you can add
break-after="page" to the block before this, or whteher you
can output an empty block with a break-before"page". The
latter may trigger problems, check it carefully.
More details are available in the spec
  http://www.w3.org/TR/xsl/slice7.html##break-before
or any good book about XSLFO (see
  http://xml.apache.org/fop/resources.html#documents

J.Pietschmann


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>