I have the following definition for a table
<fo:block font-size="10pt">
<fo:table table-layout="fixed" width="100%" border-collapse="separate" border-separation="5pt"
space-after="1.0cm">
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-column column-width="3cm"/>
<fo:table-footer>
</fo:table>
</fo:block>
How can I set each column to have max length and if it overflows it should go to the next line? Currently If the text in one column is extremely long it doesn't go to a next line and it is displayed on the same line which prevents seeing the other columns.
Example how data is mapped:
<xsl:template match="setInfo">
<fo:table-row>
<xsl:apply-templates select="." mode="font-weight"/>
<fo:table-cell>
<fo:block>
<xsl:value-of select="date"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<xsl:value-of select="category"/>
</fo:block>
</fo:table-cell>
<xsl:value-of select="measure"/>
<fo:table-cell>
<fo:block>
<xsl:value-of select="999999999999999999999999999999999999999999999999999999999999999999999999999999999"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>