XSL-FO Page numbering
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format