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

Re: XSL-FO: Exclude page numbering on some pages

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

Thanks for the quick response.  So basically I should:

1) Create a new simple page master for the revision pages
        <fo:simple-page-master 
master-name="RevPage"></fo:simple-page-master>

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

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

Nadia 




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

 
        To:     xsl-list@xxxxxxxxxxxxxxxxxxxxxx
        cc: 
        Subject:        Re:  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>
></fo:page-sequence-master>
>
>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.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

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-2013 All Rights Reserved.