[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Creating page breaks in XSLT

Subject: RE: Creating page breaks in XSLT
From: "DuCharme, Bob (LNG)" <robert.ducharme@xxxxxxxxxxxxxx>
Date: Mon, 6 Aug 2001 11:02:33 -0400
xslt page breaks
>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.

Bob DuCharme            www.snee.com/bob             <bob@  
snee.com>      see http://www.snee.com/bob/xsltquickly for
info on new book "XSLT Quickly" from Manning Publications.

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.