- From: Heckler <heckler@lei.cdi.de>
- Date: Mon, 28 Jan 2002 04:40:04 -0500 (EST)
- To: <www-xsl-fo@w3.org>
Hello www-xsl-fo, I recently met a problem which I would like to present to you hoping you could give some assistance or answers. My problem concerns variable numbers of columns in PDF-tables. An example - table in XML: <TABLE> <TGROUP COLS="3"> <COLSPEC COLNUM="1" COLNAME="col1" COLWIDTH="*"> <COLSPEC COLNUM="2" COLNAME="col2" COLWIDTH="*"> <COLSPEC COLNUM="3" COLNAME="col3" COLWIDTH="*"> <TBODY> <ROW> <ENTRY COLNAME="col1">11</ENTRY> <ENTRY COLNAME="col2">22</ENTRY> <ENTRY COLNAME="col3">33</ENTRY> </ROW> <ROW> <ENTRY COLNAME="col1">44</ENTRY> <ENTRY COLNAME="col2">55</ENTRY> <ENTRY COLNAME="col3">66</ENTRY> </ROW> </TBODY> </TGROUP> <CAPTION>tabelle 1</CAPTION> </TABLE> The number of columns for the XML-table varies; the column-width is 15 cm. For the PDF output the tgroup-attribute cols shall by divided by the table-width. The result shall be written in <fo:table-column> to the attribute column-width. How can this be achieved by means of an XSL-File? Thank you very much in advance! Dirk Heckler
Received on Monday, 28 January 2002 11:02:45 UTC