[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to display the previous page number

Subject: Re: How to display the previous page number
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Tue, 27 Feb 2007 20:56:16 +0530
Re:  How to display the previous page number
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@xxxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.