[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] The Penultimate Page


Subject: [xsl] The Penultimate Page
From: mottoson@xxxxxxxxxxxxxx
Date: Tue, 2 Mar 2004 15:58:33 -0500

Hi,

We're printing multi-page duplex documents so we force page sequences to end-on-even. 

We now must print a barcode on these documents as follows:  All odd pages ("face up" pages) must have the same value in the barcode, except the very last odd page which has an "end of job" indicator in the value.

The problem I cannot resolve is: how do I reference the "next-to-last" page in my page-sequence-master? or put another way, how do I reference the "last-of-the-odd" pages? 

<fo:conditional-page-master-reference page-position="last" odd-or-even="odd" /> doesn't work, of course, because it only refers to the "last-page-if-it-happens-to-be-odd"

Any suggestions?

------------------------
Michael Ottoson, System Developer, 519-739-1133 x5874
Green Shield Canada, 8677 Anchor Dr., Windsor ON N9A 6W1
mottoson@xxxxxxxxxxxxxx



This e-mail is confidential and is intended solely for the use of the person
or organization to which it was addressed. If you have received it in error,
please notify us immediately by replying to the sender and then deleting the
e-mail.

Please encrypt all confidential and sensitive information sent to Green
Shield using the internet.

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



Current Thread