xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Görz, Johannes" <johannes.go...@schema.de>
Subject AW: table in xsl-region-before
Date Wed, 21 May 2003 14:43:01 GMT
Hi dave

It seems like you are missing the <fo:table-row> tags.

table-cells are not allowed in <fo:table-body>. They have to be grouped in table-rows.

Hope this could help

/johannes



-----Ursprüngliche Nachricht-----
Von: Holk, David A [mailto:david_a_holk@groton.pfizer.com] 
Gesendet: Mittwoch, 21. Mai 2003 16:36
An: 'fop-user@xml.apache.org'
Betreff: fo:table in xsl-region-before


The code below causes FOP to throw this exception:

"Currently only table rows are supported in table body, header, and footer."


I am using the same technique in another table in the xsl-region-body without a problem. Does
FOP have a problem with tables in the region-before?


Any comments or suggestions appreciated.

Dave


	<fo:static-content flow-name="xsl-region-before">
		<fo:table>
			<fo:table-column column-width="80mm"/>
			<fo:table-column column-width="80mm"/>
			<fo:table-column column-width="80mm"/>
			<fo:table-body>
				<xsl:apply-templates mode="header"/>
			</fo:table-body>
		</fo:table>
	</fo:static-content>

	<xsl:template match="header-column" mode="header">
		<fo:table-cell border-width="0.5mm">
			<fo:block font-size="9pt">
				<xsl:value-of select="."/>
			</fo:block>
		</fo:table-cell>
	</xsl:template>


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It
is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized.
If you are not an addressee, any disclosure or copying of the contents of this E-mail or any
action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you
are not an addressee, please inform the sender immediately.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message