[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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. ==XML-Example== <tr><tag>Do</tag><datum>12.06.07</datum><uhrzeit>15:00 - 16:30 Uhr</uhrzeit><kursnr>Kurs-Nr.: </kursnr><nr>10</nr><beitrag></beitrag></tr> ==XSL-Example== <xsl:template match="tag"> <xsl:param name="pos_tr" /> <xsl:variable name="pos_tag" select="position()" /> <fo:table-cell column-number="{$pos_tag}" xsl:use-attribute-sets="table.contents"> <xsl:attribute name="width">7mm</xsl:attribute> <fo:block> <xsl:attribute name="text-align">left</xsl:attribute> <fo:inline font-weight="bold"><xsl:value-of select="."/></fo:inline> </fo:block> </fo:table-cell> </xsl:template> 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, Andreas
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|