[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: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Dec 2011 10:50:14 -0500
Re:  Getting a block to end on the last page
At 2011-12-01 09:38 -0600, Colin DeClue wrote:
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?

I think you are missing something in your question.

If you start on page 2 with either a page break or a new page sequence, and simply flow your 7 charges, and the first 5 fit on a page, then without any work the last two will be on page 3.

No special techniques are required.

What am I missing?

. . . . . . . . . Ken

BTW, I have free UBL Invoice stylesheets available here if you want to see how I've followed the United Nations Layout Key (UNLK):


Contact us for world-wide XML consulting and instructor-led training
Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal

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.