Rules Editor Home | Documentation Home | Stilo
Guide to
Migrate 5.0.0 Rules Editor
Stilo
Table Annotations

Table annotations are used to identify parts of a table or specific types of table.

Syntax
p.table.head
t.relative-column-widths
Purpose

The annotation p.table.head is used to create a table header section for your table. This is usually the first row in your table, and the table header appears before the table body.

The annotation t.relative-column-widths is used to tell Migrate to use size information in the table to make the output rows and columns sized accurately relative to each other. This is most useful with complex tables that contain row and column spanning. This annotation does not have any arguments to it, so you just apply it to the table in question.

Creating a table head

The following image shows you what your table may look like in your original document. Table with header row in original document

This image shows you how to create a table header from the first row of your table. Rule for creating a table header from the first row of a table

The following XML is what the code for the example table header could look like.

<thead> <row> <entry colname="C1"> Term</entry> <entry colname="C2"> Definition</entry> </row> </thead>