[xsl] Different (body) layout on odd and even pages in XSL-FO?

Subject: [xsl] Different (body) layout on odd and even pages in XSL-FO?
From: "Christian Rosberg" <christian.rosberg@xxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Dec 2004 09:52:45 +0100
Hi all,

I have a problem regarding different layout on odd an even pages. The project I'm currently working on is to produce a simple product catalog containing flowing products, each product contain some text (T) and an image (I), for more detail see my fancy illustration below ;-). I have managed to use different headers/footers using <fo:conditional-page-master-reference master-reference="products-even" odd-or-even="even"/> on static content but not on the region-body (and the layout of the flowing products).

Odd page    Even page
----------    ----------
|  I    T    |    |   T    I   |
|  I    T    |    |   T    I   |
|  I    T    |    |   T    I   |
----------    ----------

My problem is that I want the images of the products on the outer edge of the page, that is, images of the products to the left on the left page (odd) and to the right on the right page (even). I have figured out that it perhaps is necessary to use some kind of multiple/alternative flow (which isn't supported in XSL-FO 1.0), or is it possible to it in some other way? Is there any workaround?

Will it be possible to accomplish according to the WD of XSL-FO 1.1? And if, does anyone know if there Is there any XSL formatter that has any XSL-FO 1.1 support?

Thanks for any help.

Kind regards
Christian Rosberg


Current Thread