xsl:fo several items in one table cell

H

Helmut Blass

hi,
I want to fill a table cell with several items, separated
by linefeed. so I use a block for each item.
unfortunately, the pdf output renders only the first item.
I am using the FOP formatter.
any suggestions?

thanx, Helmut

<fo:table-cell>
<xsl:for-each select="action_responsibles">
<fo:block ><xsl:value-of select="action_responsible"/></fo:block>
 
M

Mike Partridge

Try the following:

<fo:table-cell>
<fo:block>
<xsl:for-each select="action_responsibles">
<xsl:value-of select="."/><fo:block/>
</xsl:for-each>
<fo:block>
</fo:table-cell>

Mike
 
H

Helmut Blass

thanks for your help. now all items appear in the pdf output but
unfortunately they are not separated by linefeed. it seems to me that
there is a limitation (or bug) on the side of the FOP formatter.

Helmut
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top