You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Holk, David A" <da...@groton.pfizer.com> on 2003/05/21 16:36:25 UTC

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