Xslfo Tables
# XSL-FO Tables
* * *
XSL-FO uses the element to define tables.
* * *
## XSL-FO Tables
The XSL-FO table model is not entirely different from the HTML table model.
There are nine XSL-FO objects available for creating tables:
* fo:table-and-caption
* fo:table
* fo:table-caption
* fo:table-column
* fo:table-header
* fo:table-footer
* fo:table-body
* fo:table-row
* fo:table-cell
XSL-FO uses the **** element to define tables. It contains a and an optional **** element.
The element contains optional **** elements, one optional **** element, one **** element, and one optional **** element. Each of these elements may contain one or more **** elements, and each **** contains one or more **** elements:
Car
Price
Volvo
$50000
SAAB
$48000
The output of the above code is shown below:
| Car | Price |
| --- | --- |
| Volvo | $50000 |
| SAAB | $48000 |
YouTip