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

Re: Getting a block to end on the last page

Subject: Re: Getting a block to end on the last page
From: Marc <Marc.Liste@xxxxxxx>
Date: Fri, 02 Dec 2011 08:43:18 +0100
Re:  Getting a block to end on the last page
You don't tell wich FO Processor you use, but with FOP you can after the work know the number of pages of the document.
I use it to do a "Page x/n" without use the <page-number-citation-last> who demand to FOP to keep all the document in memory, and it was a very big doc, so I prefer to do one pass to know the number of pages and after send this number as param to the XSLT in the second pass.
Perhaps this should be an answer.


Le 01/12/2011 16:38, Colin DeClue a icrit :
Hey, so, I've got some data (a list of charges for an invoice) that I
want to end on the last page, rather than start on the first. Say the
document is 3 pages (due to descriptions of other things in their
sections taking up that much room), and there are 7 charges. If 5
charges fit per page, I would want the list of charges to start on
page 2, print 5, then print the last 2 charges on the last page.

Is there an easy way I can accomplish this?

Colin DeClue

Current Thread


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.
First Name
Last Name
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.