XML technologies / XSL-FO / Examples of application / Table concepts

In this example the table concepts of HTML, CALS and XSL-FO are compared.

With the comparison of the table concepts of HTML and CALS on the one hand as well as XSL-FO on the other hand, the transformation of the table structures shall be simplified and typical problems shall be pointed out.

In the following table elements of CALS, HTML and XSL-FO are compared. So, the similarities and differences can be quickly overviewed.

HTML

CALS

XSL-FO

-

<table>

<fo:table-and-caption>

<caption>

<caption>

<fo:table-caption>

<table>

<tgroup>

<fo:table>

<col>

<colspec>

<fo:table-column>

<thead>

<thead>

<fo:table-header>

<tfoot>

<tfoot>

<fo:table-footer>

<tbody>

<tbody>

<fo:table-body>

<tr>

<row>

<fo:table-row>

<td>, <th>

<entry>

<fo:table-cell>

In this example potential sources of errors are pointed out because there is a large number of valid attributes for each of these elements which may also be used at different levels of the table structure and because the default values in HTML and CALS are often unclear. Of course, the listing of these possible sources of errors is not complete.

   

back to top