I think, you can use the '-' operator to accomplish this (shown below):
<fo:page-number/> - 1 // <fo:page-number/>
but if you need to handle page 1 in a special way, where if you do not
want to display '0 //' before 1, this simple way may be difficult to
handle this case.
I am not a good expert here, but this hint might help you get started.
On 2/27/07, Ranjitha Murthy Rao <ranjithamrao(_at_)hotmail(_dot_)com> wrote:
I need to display the page number in the following format :
<previous_pageNumber> // <current_page Number>
For example:
On page 3, I need to display:
2 // 3
and on page 5
4 //5
We are using for 0.20.4 and xsl version 1.0
Thanks in advance,
Ranjitha Rao
--
Regards,
Mukul Gandhi
--~------------------------------------------------------------------
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>
--~--