|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Creating page breaks in XSLT
> 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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








