RE: [xsl] XSL-FO Page numbering

Subject: RE: [xsl] XSL-FO Page numbering
From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx>
Date: Mon, 06 Dec 2004 11:28:19 +0000
From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] XSL-FO Page numbering
Date: Mon, 6 Dec 2004 03:14:54 -0800 (PST)

I want to display "Page number n of m" for each page
of my stylesheet.
I have declared the page numbering as below:

<fo:page-sequence master-reference="A4"
initial-page-number="1" language="en" country="us">

 and
<fo:static-content flow-name="xsl-region-after">
				<fo:block>Page <fo:page-number/> of
<fo:page-number-citation ref-id="theEnd"/></fo:block>
			</fo:static-content>
 and in the end of fo document I added <fo:block
id="theEnd"/>

But this only displays "Page 1 of ".
Can anybody suggest me, how to display the total page
number in format "Page n of m" where n is current page
number of m is total pages in out put.

regards,
Ranjan



__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com


_________________________________________________________________
Hey there NRIs! Desi news, films, n more! http://www.msn.co.in/nri/ Stay in the loop!


Current Thread