Hello, I try using absolute-position but doesnt work like I thought. The block with "This should be bottom" should be at the bottom of the region-before and the "this should be top" should be at the top of the region-after, no ?
With XEP I get the "This should be bottom" at the bottom of the page and "This should be top" at the top of the page Is there something to take care for FOP ? (I use FOP version 0.20.3) Hope someone can help me on this. Greetings, Patrick <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" indent="yes" /> <xsl:template match="root"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master page-height="297mm" page-width="210mm" margin-left="3.39mm" margin-bottom="2.20mm" margin-top="4.49mm" margin-right="4.23mm" master-name="PageMaster"> <!-- 11.8cm is size of header in the template 118mm-4.49mm = 113.51 mm --> <fo:region-body margin-top="113.51mm" margin-bottom="34.8mm"/> <fo:region-before extent="113.51mm"/> <!-- 3.7cm-0.2202cm = 3.48cm --> <fo:region-after extent="34.8mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="PageMaster"> <!-- start static content header --> <fo:static-content flow-name="xsl-region-before"> <fo:block-container border="solid" absolute-position="absolute" height="5cm" width="10cm" bottom="0cm" right="5cm"> <fo:block> This should be bottom </fo:block> </fo:block-container> </fo:static-content> <!-- end of static content footer --> <!-- start static content footer --> <fo:static-content flow-name="xsl-region-after"> <fo:block-container border="solid" absolute-position="absolute" height="5cm" width="10cm" top="0cm" right="5cm"> <fo:block> This should be top </fo:block> </fo:block-container> </fo:static-content> <!-- end of static content footer --> <!-- start of body flow --> <fo:flow flow-name="xsl-region-body"> <fo:block>test</fo:block> </fo:flow> <!-- end of body flow --> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH Service Prozesse Retail Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen Telefon: (0711)972-2437 Telefax: (0711)972-1949 E-Mail: [EMAIL PROTECTED] Internet: http://www.t-systems.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]