[xsl] XSL-FO Page numbering

Subject: [xsl] XSL-FO Page numbering
From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx>
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 

Current Thread