Text wrap in xsl:fo- table-cell

Here should go questions about transforming XML with XSLT and FOP.
sanjeev.gour
Posts: 4

Text wrap in xsl:fo- table-cell

Thu Oct 25, 2007 3:12 pm

Hi,

I am creating a PDF using xsl-fo. Whenever my text is very large, it goes beyond the table cell in the column. I want that the text should be wrapped when it is large. Is there any option to do this???

My table cell is like the following-

Code: Select all

<fo:table-cell padding="2pt" border="0.2pt solid black"
               background-color="#f1e1c1" width="auto">
               <fo:block>
                  <xsl:attribute name="font-weight">bold</xsl:attribute>
                  <xsl:value-of select="div" />
               </fo:block>
            </fo:table-cell>


Thanks.
sanjeev.

Return to “XSLT and FOP”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest