You can try this also <xsl:attribute-set name="table-structure"> <xsl:attribute name="table-layout">fixed</xsl:attribute> <xsl:attribute name="space-before">0pt</xsl:attribute> <xsl:attribute name="space-after">0pt</xsl:attribute> <xsl:attribute name="border">2px</xsl:attribute> <xsl:attribute name="border-style">outset</xsl:attribute> <xsl:attribute name="border-collapse">separate</xsl:attribute> <xsl:attribute name="border-spacing">2px</xsl:attribute> </xsl:attribute-set>
<fo:table xsl:use-attribute-sets="table-structure"> <xsl:for-each select="tr|thead/tr|tbody/tr"> <xsl:sort select="count(td|th)" data-type="number" order="descending"/> <xsl:if test="position()=1"> <xsl:for-each select="td|th"> <fo:table-column/> </xsl:for-each> </xsl:if> </xsl:for-each> </fo:table> cheers george -----Original Message----- From: James Steven [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 6:02 PM To: [EMAIL PROTECTED] Subject: table processing warning Hello When processing xml using FOP 0.20.5rc3a the command keeps returning two warnings. These are: [WARNING] current implementation of tables requires a table-column for each column, indicating column-width [WARNING] Some static content could not fit in the area. A pdf document is returned ok, but obviously there are formatting errors. I am interested in what might be causing the first of these. There are several tables in the xsl-fo which I have shown below and I have made sure the number of table-columns and table-cells correspond and that each column has a column width specified but this warning continues. What is it referring to? Thanks for any help. James <fo:table table-layout="fixed"> <fo:table-column column-width="8mm" /> <fo:table-column column-width="90mm" /> <fo:table-column column-width="85mm" /> <fo:table-column column-width="30mm" /> <fo:table-column column-width="70mm" /> <fo:table-body> <fo:table-row> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:table table-layout="fixed"> <fo:table-column column-width="13mm" /> <fo:table-column column-width="23mm" /> <fo:table-column column-width="37mm" /> <fo:table-column column-width="37mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="18mm" /> <fo:table-column column-width="22mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="11mm" /> <fo:table-column column-width="8mm" /> <fo:table-column column-width="16mm" /> <fo:table-column column-width="24mm" /> <fo:table-body> <fo:table-row> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:table table-layout="fixed"> <fo:table-column column-width="3mm" /> <fo:table-column column-width="23mm" /> <fo:table-column column-width="37mm" /> <fo:table-column column-width="37mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="18mm" /> <fo:table-column column-width="22mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="11mm" /> <fo:table-column column-width="8mm" /> <fo:table-column column-width="16mm" /> <fo:table-column column-width="24mm" /> <fo:table-body> <fo:table-row> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:table table-layout="fixed"> <fo:table-column column-width="3mm" /> <fo:table-column column-width="23mm" /> <fo:table-column column-width="37mm" /> <fo:table-column column-width="37mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="18mm" /> <fo:table-column column-width="22mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="25mm" /> <fo:table-column column-width="11mm" /> <fo:table-column column-width="8mm" /> <fo:table-column column-width="16mm" /> <fo:table-column column-width="24mm" /> <fo:table-body> <fo:table-row> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell > </fo:table-cell> <fo:table-cell > </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]