[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

problem with table cell-width

Subject: problem with table cell-width
From: Andreas Peter <info@xxxxxxxxxx>
Date: Tue, 19 Jun 2007 10:52:09 +0200
 problem with table cell-width
Hello list,

I have a problem trying to format my table cells using numeric values.
As a formatter I use fop-0.93.

The problem:

When I use numeric values for table cells all cells will be the same
width. But I want to use a different cell-width for each cell. The
layout of the table is fixed.


<tr><tag>Do</tag><datum>12.06.07</datum><uhrzeit>15:00 - 16:30


<xsl:template match="tag">
 <xsl:param name="pos_tr" />
 <xsl:variable name="pos_tag" select="position()" />
 <fo:table-cell column-number="{$pos_tag}"
 <xsl:attribute name="width">7mm</xsl:attribute>
 <xsl:attribute name="text-align">left</xsl:attribute>
 <fo:inline font-weight="bold"><xsl:value-of select="."/></fo:inline>

I can enter several values for width and none of them work. Inside the
FO-File the values are at the right position but the formatter does
not include them.
Any idea so far?

Thanks so much,


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.