[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Starting Initial Page Number on Page Two
Hi All, I have an issue where the initial page number is starting on page one. The requirement is for the page number to start on page two (starting with the number "2"). In my current output, the page number is starting on page one (starting with the number "1"). I had to start the FO page-sequence immediately after the FO layout-master-set because the documents are in multiple languages and each language have to flow one after the other and not start on a new page. How can I get the initial page number to start on the second page and start counting with number b2b? I've included snippets of the stylesheet and XML. Please let me know if additional info is needed. Thanks in advance for your help. Regards, S. Egrub ====================XML================= <Insert column="1col" dbSvr="mfgdev" docID="248210" docrev="KA" pgHeight="11in" pgWidth="8.5in" status="preview"> <docinfo> <docDate>March 2007</docDate> .... </docinfo> <toc display="no"/> <lang langID="EN" language=" English" fontFam=" Arial"> <fixedterms> <term id="caution" text="CAUTION"/> <term id="notice" text="NOTICE"/> <term id="warning" text="WARNING"/> </fixedterms> <productInfo> <systemname>SYNCHRON<superscript>®</superscript> Systems</systemname> <productname>CREATINE KINASE-MB ISOENZYME (CKMB)</productname> <kitRef><Ref>445375</Ref></kitRef> <forUse>For <emphasis role="bolditalics">In Vitro</emphasis> Diagnostic Use</forUse> </productInfo> <body> <level1><title>Contents</title> <para><emphasis role="bold">Each kit contains the following items:</emphasis></para> ...... </level1> </body> </lang> <lang langID="FR" language=" FranC'ais" fontFam=" Arial"> <fixedterms> <term id="caution" text="ATTENTION"/> <term id="notice" text="REMARQUE"/> <term id="warning" text="AVERTISSEMENT"/> </fixedterms> <productInfo> <systemname>SYSTEMES SYNCHRON<superscript>®</superscript></systemname> <productname>ISOENZYME CREATINE KINASE - MB (CKMB)</productname> <kitRef><Ref>445375</Ref></kitRef> <forUse>RC)servC) aux dosages biologiques in vitro</forUse> </productInfo> <body> <level1><title>CONTENU</title> <para><emphasis role="bold">Chaque Coffret contient les produits suivants:</emphasis></para> ..... </level1> </body> </lang> <lang langID="DE" language="Deutsch" fontFam="Arial"> <fixedterms> <term id="caution" text="WARNHINWEIS"/> <term id="warning" text="WARNUNG"/> <term id="notice" text="HINWEIS"/> </fixedterms> <productInfo> <systemname>SYNCHRON<superscript>®</superscript> SYSTEME</systemname> <productname>KREATINKINASE - MB ISOENZYM (CKMB)</productname> <kitRef><Ref>445375</Ref></kitRef> <forUse>In-Vitro Diagnostikum</forUse> </productInfo> <body> <level1><title>INHALT</title> <para><emphasis role="bold">Jeder Reagenzienkit enthC$lt die folgenden Bestandteile:</emphasis></para> ..... </level1> </body> </lang> </Insert> ====================XSL-FO================= <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="Insrt-body-page" page-height="{$doc_height}" page-width="{$doc_width}" margin-top="0.13in" margin-bottom="0.25in" margin-left="0.45in" margin-right="0.45in"> <!--++ Establish the output area(s) language pages ++--> <fo:region-body region-name="Insrt-pgbody" margin-top="0.3in" margin-bottom="0.5in" column-count="2" background-image="watermark.eps"/> <fo:region-before region-name="lang-pg-ct" extent="0.75in" /> <fo:region-after region-name="Col_CpyRght-Footer" extent="0.45in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="Insrt-body-page"> <xsl:if test="position() = 1 and //lang/@langID='EN'"> <xsl:attribute name="initial-page-number">1</xsl:attribute> </xsl:if> <fo:static-content flow-name="Col_CpyRght-Footer"> <fo:retrieve-marker retrieve-class-name="cpy-footer" retrieve-position="first-starting-within-page" retrieve-boundary="document"/> </fo:static-content> <fo:static-content flow-name="lang-pg-ct"> <fo:block space-before="10.2in" 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="Insrt-pgbody"> <fo:block><!--ONE COL 8.5 X 11--> <xsl:apply-templates /> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|