W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2002

Absolute positioning?

From: Esteban Gonzalez <egonzalez@outside.com.ar>
Date: Tue, 16 Apr 2002 11:27:41 -0300
Message-ID: <00c801c1e552$dea6d900$33273dc8@vader>
To: "XSL" <www-xsl-fo@w3.org>
Iīve been trying to use absolute positioning with areas and havenīt been
able to do so...

iīm getting this error when compiling the xsl file...

[INFO]: FOP 0.20.3
[INFO]: building formatting object tree
[INFO]: [1]
[INFO]: [2]
[INFO]: Parsing of document complete, stopping renderer
[ERROR]: org.apache.fop.layout.BlockArea

Thereīs any ideas of what could be wrong in this code?
<fo:block-container absolute-position="fixed" top="240mm" left="100mm">
<xsl:apply-templates select="pais"/>

Any help would be really appreciated! =)

The full xsl code is here...
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">

<xsl:template match="vouchers">

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">


<fo:simple-page-master page-height="14in" page-width="8.5in">


<fo:region-before extent="0mm"/>



<fo:page-sequence master-name="simple">

<fo:flow flow-name="xsl-region-body">






<xsl:template match="voucher">


<xsl:apply-templates select="cliente"/>



<xsl:template match="cliente">

<fo:block-container absolute-position="fixed"

top="240mm" left="100mm">


<xsl:apply-templates select="pais"/>




Received on Tuesday, 16 April 2002 10:29:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:54 UTC