Re: [xsl] Page break with XSL-FO

Subject: Re: [xsl] Page break with XSL-FO
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Sat, 17 May 2003 20:18:14 +0200
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



Current Thread