From: "Ranjan K. Baisak" <ranjanbaisak(_at_)yahoo(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
--~------------------------------------------------------------------
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>
--~--
_________________________________________________________________
Hey there NRIs! Desi news, films, ?n more! http://www.msn.co.in/nri/ Stay in
the loop!
--~------------------------------------------------------------------
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>
--~--