[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FO: next to last page
Thanks Ken. I suspected as much but wanted to confirm. Don --- On Thu, 5/6/10, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > From: G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> > Subject: Re: FO: next to last page > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Date: Thursday, May 6, 2010, 10:00 AM > At 2010-05-06 07:44 -0700, Don Smith > wrote: > > I've got a requirement to end chapters on even pages > and, if that last page turns out to be blank, reference it > on the next to last page. Assuming that I have 5 pages of > content and output a blank page for page 6, then on page 5 I > need this in a static content region: > > > > Page: 5 / 6 blank > > > > I've got everything working in terms of reference, > etc. My problem is isolating only the next to last page. I > can't see any way to do that. Right now I'm getting the > reference on all my odd pages; I only want it if it's next > to last. > > > > Am I missing the way to accomplish this or is it > impossible? > > It is not possible in the way you express the > requirement. One cannot do arithmetic with page > numbers > > When my customers have come to me with this, the way I've > convinced them to go is to use: > > Page: 5 / next blank > > I hope this helps. > > . . . . . . . . . . . Ken > > -- > Principles of XSLT for XQuery Writers: San Francisco,CA > 2010-05-03 > XSLT/XQuery/UBL/Code List training: Trondheim,Norway > 2010-06-02/11 > Vote for your XML training: http://www.CraneSoftwrights.com/s/i/ > Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ > G. Ken Holman > mailto:gkholman@xxxxxxxxxxxxxxxxxxxx > Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc > Legal business disclaimers: http://www.CraneSoftwrights.com/legal > > > --~------------------------------------------------------------------ > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ > or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx> > --~--
|
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
|