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

Starting Initial Page Number on Page Three

Subject: Starting Initial Page Number on Page Three
From: Horace Burke <xmlmarkup@xxxxxxxxx>
Date: Tue, 3 Mar 2009 16:47:22 -0800 (PST)
 Starting Initial Page Number on Page Three
Hi All,

I want to start initial page number as one "1" on page three of PDF documents
I am creating using XSL-FO style. There is a Title page (first page) and TOC
(second page). The documents have multiple languages (represented by "lang"
elements/tags in XML snippet below). When I add initial-page-number="1"
property to fo:page-sequence it starts page number on each new language page
and produces multiple #1's in on the TOC page for each language.

Does anyone know how I can start initial page number as one on page three and
have it counts continuously to the end of the document?

I am using Arbortext Epic/E3 for rendering.


<===XML Snippet===>

<Product...>

    <lang langID="EN" language="English" fontFam="Arial">
      ...
    </lang>
    <lang langID="FR" language="Frangais" fontFam="Arial">
      ...
    </lang>
    <lang langID="DE" language="Deutsch" fontFam="Arial">
      ...
    </lang>
    <lang langID="IT" language="Italiano" fontFam="Arial">
      ...
    </lang>

</Product>

<===XSL-FO Snippet===>

<xsl:template match="lang">
   <fo:page-sequence master-reference="Insrt-body-page">

      <fo:static-content flow-name="lang-pg-ct">
      	 <fo:block text-align="center" font-size="{$p-font_Size}">
      	    <fo:page-number/>
      	    <fo:basic-link internal-destination="{generate-id(/)}">
      	       <fo:page-number-citation ref-id="{generate-id(/)}"/>
      	    </fo:basic-link>
      	 </fo:block>
      </fo:static-content>

      <fo:flow flow-name="Prod-pgbody" font-family="{$font_Fam}">
        <fo:block id="{generate-id(.)}">
	   <xsl:apply-templates/>
        </fo:block>
      </fo:flow>
   </fo:page-sequence>

</xsl:template>


Thanks in advance for your help.

Regards,
Horace Burke

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