Inside Xslt

Creating Table Columns : <fo:table-column>

You include one <fo:table-column> element for each column you want in the table. You can use this element to indicate characteristics that apply to table cells that have the same column. One of the most important properties here is the column-width property, which you use to set the width of each column.

You can use the following properties with the <fo:table-column> element:

In tables.fo, I give each column the same width, 30mm, as follows :

<fo:table> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> . . . </fo:table>

After specifying each column, you create the tables body.

Категории