473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

xsl:fo several items in one table cell

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>
Jul 20 '05 #1
2 2418
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

he**********@absc.de (Helmut Blass) wrote in message news:<e9**************************@posting.google. com>...
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>

Jul 20 '05 #2
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

ha**********@earthlink.net (Mike Partridge) wrote in message news:<61*************************@posting.google.c om>...
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

he**********@absc.de (Helmut Blass) wrote in message news:<e9**************************@posting.google. com>...
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>

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Philip Meyer | last post by:
1) setting image as Background with alignment in center not working..help Explanation : i need to set a image as background and also it should be dispalyed in the center.i am using apache fop...
4
by: David | last post by:
Hello list, I'm using XML + XSL + CSS to display my data to the web. I also want to publish my pages in PDF format. To accomplish this I first must transform my XML + XSL + CSS in XSL-FO. Is...
2
by: Anshul Seth | last post by:
I have been dealing with the page-break problem for long, and have not been able to come to a solution. I am using XSL:FO to generate PDF report for my XML, generating it in tables. I want that...
0
by: Rary | last post by:
I am using XSL:FO to generate PDF report for my XML, generating it in tables, i want that tables should completely be at one place, if there is a page break , all the contents of the table should...
0
by: Nathan | last post by:
Hi, I seem to having a peculiar problem with the display of odd and even pages in XSL-FO. Here is a small background of the problem. My xsl stylesheet mentions my fo:layout-master-set as ...
0
by: jklBruin | last post by:
i'm trying to implement converting xsl-fo to pdf on a .Net page. i''m getting the error message: Root element must be root, not http://www.w3.org/1999/XSL/Transform:stylesheet here's the xsl...
0
by: Matthias | last post by:
Hi all, I have a problem with XSL FO. I wrote a handbook for my application in XML and formats it with xsl:fo (FOP) for PDF output. The handbook has some chapters. I have to write the actual...
1
by: jamesm6162 | last post by:
Hi I have the following XSL-FO document that I'm testing with the FOP processor. The table I put in, however, is completely stuck to the left side of the body-region, regardless of which margins...
5
by: cleary1981 | last post by:
Hi, Im a little out of my depth using xsl fo here. I have a table of items and each has a price in the second row of the table. I need to display a total at the bottom of the row. My problem is...
1
by: cleary1981 | last post by:
Hi, I am trying to add page numbers to my document in xsl fo. I can get the page numbers to work but I need them to show at the bottom of each page. I know you can define an area as region-after...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.