Re: [xsl] FO total page count

Subject: Re: [xsl] FO total page count
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Mar 2001 09:13:48 GMT
   > Is it possible to get a total page count so I can put
   > Page 3 of 20
   > in my page footer with FO?


   place an id attribute at the last block in your document like:

   <fo:block id = "lastBlock">

   Now you can access the pagenumber of this last block by using:

   <fo:page-number-citation ref-id = "lastBlock"/>

   HTH Karsten

What happens if a float floats past this "last" block, creating another
page? Don't you end up with "page 21 of 20" ?


This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

Current Thread