xsl-list
[Top] [All Lists]

XSL-FO Page numbering

2004-12-06 04:14:54
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 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>