Re: [xsl] XSL-FO: Exclude page numbering on some pages

Subject: Re: [xsl] XSL-FO: Exclude page numbering on some pages
From: Nadia.Swaby@xxxxxx
Date: Thu, 04 May 2006 12:40:28 -0400
Hi Ken,

Thanks for the quick response.  So basically I should:

1) Create a new simple page master for the revision pages

2) Create a new page master sequence:
        <fo:page-sequence-master master-name="RevIndex">
3) Create a new fo:page-sequence for the RevIndex

Let me know if I am on the right track or not.


"G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
2006-05-04 12:08
Please respond to xsl-list

        To:     xsl-list@xxxxxxxxxxxxxxxxxxxxxx
        Subject:        Re: [xsl] XSL-FO: Exclude page numbering on some pages

At 2006-05-04 11:53 -0400, Nadia.Swaby@xxxxxx wrote:
>I have an stylesheet that generates and FO document.  Currently, my page
>sequence master looks like this:
><fo:page-sequence-master master-name="Contents">
>         <fo:repeatable-page-master-alternatives>
>                 <fo:conditional-page-master-reference
> master-reference="Cover" page-position="first"/>
>                 <fo:conditional-page-master-reference
> master-reference="Other" odd-or-even="any"/>
>         </fo:repeatable-page-master-alternatives>
>The documents being rendered (to PDF using AntennaHouse) have the main
>body and a revision index at the end.  The revision index sometimes is
>more than a page in length.  Usually (in the Framemaker world), the
>revision index has no page numbering, or is numbered on it's own.  Is
>there a way to implement this in XSL-FO?

Yes, create a new page-sequence-master with your required pagination
properties for it and use it for your revision index.  In this new
page-sequence-master, use perimeter regions without page numbers.

One is not obliged to use the same page-sequence-master for the
entire document ... just create as many page-sequence elements as you
need to use page-sequence-masters.  Each one starts a new page.

I hope this helps.

.. . . . . . . . Ken

Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XSLT/XSL-FO training:    Minneapolis, MN 2006-07-31/08-04
Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25
Also for XSLT/XSL-FO training:    Copenhagen,Denmark 2006-05-08/11
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05
Legal business disclaimers:

Current Thread