This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

position of page number


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]