1. The Table elements

Table

This table lists the use, (default) value(s), and description of the attributes of the Table element.

AttributeUseValue (default value in bold)Description
NameImpliedThe name of the item.
SitecoreIDImpliedThe unique ID of the item.
ColCountRequiredThe number of columns. The default value is taken from the structure (number of cells in first row). If ColCount <= 0 -> then the table is not created. If ColCount value is less than the number of cells in the structure, then the number of cells out of structure taken over.

The number of columns always needs to be larger than 0 and can’t be left empty. The number of columns also needs to correspond with the amount of cell elements for each row in the XML.
RowCountImpliedThe number of rows. If left empty, the number of rows is determined based on the XML structure of the table.

The default value is taken from the structure (the number of rows of the table). If RowCount <= 0 -> then the table is not created. If RowCount value is less than the number of rows in the structure, the value taken over structure.
HeaderRowsImpliedThe number of header rows. The row count includes the header rows. So for a table with 1 header row and 9 body rows the row count is 10.
FooterRowsImpliedThe number of footer rows. The row count includes the header rows. For a table with 1 header row, 1 footer row and 8 body rows the row count is 10.
TableStyleRequiredThe name of the table style to use for this table. If the style is not available in the master, the table style is created using defaults.
RepeatHeaderImpliedOncePerPage

OncePerFrame

EveryTextColumn
Sets how the table header is repeated.
RepeatFooterImpliedOncePerPage

OncePerFrame

EveryTextColumn
Sets how the table footer is repeated.
If you have suggestions for improving this article, let us know!