RE: [xsl] Creating page breaks in XSLT

Subject: RE: [xsl] Creating page breaks in XSLT
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Mon, 6 Aug 2001 17:13:50 +0200
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of DuCharme, Bob
> (LNG)
> Sent: Monday, August 06, 2001 5:03 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: RE: [xsl] Creating page breaks in XSLT
>
>
> >I am creating an invoice and wanted to know about controlling the page
> >breaks in XSLT.  I want to be able to set the page break, so when
> >printing out the invoice, the heading will appear on the top of each
> >page with the results below the heading. Any suggestions would be
> >greatly appreciated.
>
> XSLT is used to convert XML documents into other documents, whether those
> target documents are in XML or another format. For your particular target
> format, check how page breaks are created, and have your XSLT stylesheets
> add that to the output. For example, if you're creating FO files for
> processing by an XSL formatting engine such as FOP, the XSL spec
> shows ways
> to force page breaks at certain text blocks.
>
> If your target format is HTML, you're out of luck--it has no mechanism for
> creating page breaks, because HTML is about creating pages for
> viewing with
> browsers, not pages for printing, so there's no concept of page breaks.

Actually, page breaks can be specified using CSS2, but last time I tried,
support in IE was incomplete (Mozilla might wotk better).


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


Current Thread