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

FO page number positions

Subject: FO page number positions
From: "Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Nov 2001 10:33:09 -0000
number positions
Problem:

The aim is to have every rightPage with an even page number in the
right-hand position of the page.

While every leftPage should have an odd page number in the left-hand
position.

BUT instead I have the page number appearing in the left-hand position
regardless - Any suggestions?


My xsl is as follows ...

fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 <fo:layout-master-set>
		<fo:simple-page-master master-name="rightPage"
			........
		</fo:simple-page-master>

                 <fo:simple-page-master master-name="leftPage"
			...........
		</fo:simple-page-master>

     <!-- Set up the sequence of pages -->
		<fo:page-sequence-master master-name="contents">
			<fo:repeatable-page-master-alternatives>
				<fo:conditional-page-master-reference
					master-name="rightPage"
					odd-or-even="odd"
                                        text-align="end"/> <!--setting page
text (number) position-->
                                <fo:conditional-page-master-reference
					master-name="leftPage"
					odd-or-even="even"
                                        text-align="start"/> <!--setting
page text (number) position-->
			</fo:repeatable-page-master-alternatives>
		</fo:page-sequence-master>

      </fo:layout-master-set>

  <fo:page-sequence master-name="contents" initial-page-number="43">

      <fo:static-content flow-name="xsl-region-before"
                   font-size="8px"
                   font-family="Courier"
                   >

	<fo:block font-family="Courier" font-size="10px">
			<fo:page-number/>
       </fo:block>

......

Regards.

Tanz








 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.