- From: Brian Bøgild <bro@bladkompagniet.dk>
- Date: Wed, 20 Mar 2002 04:37:39 -0500 (EST)
- To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
- Message-ID: <13EAF254FA03D511BAFB00034707E609089A4D@mail02.bladkompagniet.dk>
Hi there I have a table which is expanding beyond the right side of the
page. How do i prevent that and make a "line-break" inside the tabel
Look at the source below----'
xsl:
<xsl:for-each select="TEST">
<fo:block width="150mm" keep-with-next.within-line="no">
<fo:table>
<fo:table-body>
<xsl:for-each select="MAIN">
<fo:table-cell><fo:block><xsl:value-of
select="NAVN"/></fo:block></fo:table-cell>
<fo:table-cell><fo:block><xsl:value-of
select="TITEL"/></fo:block></fo:table-cell>
</xsl:for-each>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:for-each>
xml:
<TEST>
<MAIN><NAVN>mads hansen</NAVN><TITEL>1 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>2 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>3 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>4 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>5 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>6 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>7 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>8 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>9 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>10 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>11 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>12 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>13 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>14 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>15 carpenter</TITEL></MAIN>
<MAIN><NAVN>mads hansen</NAVN><TITEL>16 carpenter</TITEL></MAIN>
</TEST>
please respond on my mail...
Received on Wednesday, 20 March 2002 06:51:38 UTC