This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
position of page number
- From: "Tanzila Mohammad" <tmohammad at entier-solutions dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 14 Nov 2001 17:06:21 -0000
- Subject: [xsl] position of page number
- Reply-to: xsl-list at lists dot mulberrytech dot com
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