XSL-FO uses the <fo:table-and-caption> element to define tables.
The XSL-FO table model is not very different from the HTML table model.
There are nine XSL-FO objects used to create tables:
XSL-FO uses the <fo:table-and-caption> element to define a table. It contains a <fo:table> and an optional <fo:caption> element.
The <fo:table> element contains optional <fo:table-column> elements, an optional <fo:table-header> element, a <fo:table-body> element, and an optional <fo:table-footer> element. Each of these elements has one or more <fo:table-row> elements, with one or more <fo:table-cell> elements:
The output from the code above would be something like this:
Your Query was successfully sent!