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

position of page number

Subject: position of page number
From: "Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Nov 2001 17:06:21 -0000
page number position
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"/>
                                <fo:conditional-page-master-reference
					master-name="leftPage"
					odd-or-even="even"
                                        text-align="start"/>
			</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>

......

The aim is that every rightPage should have the even page number in the
right-hand position on the page.

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

BUT instead the page number appears in the left-hand position regardless -
Any suggestions?

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.