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:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 21. Mai 2003 16:36
An: '[EMAIL PROTECTED]'
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to