Odd and Even pages problem in XSL:FO

Hi All,
I'm just startlearning xsl and
I have the following code:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
 <fo:layout-master-set>
		<fo:simple-page-master master-name="rightPage"
			page-height="29.7cm"
			page-width="21cm"
			margin-left="1.3cm"
			margin-right="1.3cm"
			margin-top="0.2cm"
			margin-bottom="1.3cm">
			<fo:region-before extent="6.5cm"/>
			<fo:region-after extent="1.3cm"/>
			<fo:region-body
				margin-top="6.5cm"
				margin-bottom="1.3cm"/>
		</fo:simple-page-master>

                 <fo:simple-page-master master-name="leftPage"
			page-height="29.7cm"
			page-width="21cm"
			margin-left="1.3cm"
			margin-right="1.3cm"
			margin-top="0.2cm"
			margin-bottom="1.3cm">
			<fo:region-before extent="6.5cm"/>
			<fo:region-after extent="1.3cm"/>
			<fo:region-body
				margin-top="6.5cm"
				margin-bottom="1.3cm" />
		</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>

And i need to create in the pdf odd and even pages where:
1- Odd pages contains table with gray background and page number.
2- Even pages without tables and with blue background and white color text.

So, please i need the exact code for this settings.

Thank you for your support
Please, confirm asap.
Ahmed Abdelhameed
Localization Engineer
Future-Soft

Received on Monday, 10 June 2002 12:20:05 UTC