[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Text to appear on each page footer except last page


Subject: RE: [xsl] Text to appear on each page footer except last page
From: "Subramanian, Indu" <Indu.Subramanian@xxxxxxx>
Date: Tue, 31 May 2005 03:17:18 -0400

The problem in this case is that the number of pages is dynamic.
Hence we will not be in a position to determine the last page and hence
cannot use a different page master for the last page.



>Thanks!
>
>Best Regards,
>-----------------------------------------------------------------------
----------------------------------------------------------
>Indu Subramanian, PSW -Investment Rewrite, Fidelity eBusiness Ph: 91 22
9892323041 (Cell) 91 22 27781007 x 3305 (Desk)
>

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Tuesday, May 31, 2005 2:20 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Text to appear on each page footer except last page

Hi,

> Can somebody help me resolve this..
>
> I need "Contd.." text to appear on each page footer except the last
> page..

You can for example define a different page master for the last page, or
you stick a marker that contains the "Contd..." text into the beginning
of your flow and an empty marker with the same name as the last thing in
your flow and then in the xsl-region-after use retrieve-marker with...
umm... retrieve-boundary="page"
retrieve-position="last-ending-within-page", I think.

Using a conditional page master is easier, so try that first. See
<http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-referen
ce>.


Cheers,

Jarno - DJ Todd: Real Synthetic Audio - 05/30/2005


Current Thread