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

Re: output last page number

Subject: Re: output last page number
From: Patrick Durusau <pdurusau@xxxxxxxxx>
Date: Mon, 21 Jan 2002 14:19:24 -0500
fop last page number

Matthew L. Avizinis wrote:

Hello all,
 I am using Xalan to process some xml files for transformation to fo and
then fop to write pdf's.  I have one xml file for each chapter of a book and
I want to have a separate pdf for each chapter.  However, the page numbering
needs to be continuous from one chapter to the next.  I notice that the only
information fop needs is fo:page-number to know when to write the actual
page number to the pdf pages.  Is there a way to save the last page number
for later use, such as to write it to a temporary file?
Any suggestions are appreciated and thank you in advance.

Are you using separate stylesheets for each chapter? Not automatic but you could manually use (in each stylesheet):

<fo: page-sequence

to force beginning on a particular page number.

See: http://www.dpawson.co.uk/xsl/sect3/bk/index.html for very good coverage of XSL (with examples).


Matthew L. Avizinis
Gleim Publications, Inc.
  4201 NW 95th Blvd.
Gainesville, FL 32606
(352)-375-0772 ext. 101

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

-- Patrick Durusau Director of Research and Development Society of Biblical Literature pdurusau@xxxxxxxxx

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

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.