Atomik Xport SE: Reference > Chapter 10 Working With DTDs << >>

10.3 The Table declaration

Atomik Xport will automatically extract table data from InDesign documents. The chapter ‘Extracting Table Data’ explains in more detail how Atomik Xport extracts table content, and provides the three table content models recognized by Atomik Xport. Below is a one of the content models that can be used.

<!ELEMENT Table (TableTitleRow?, TableRows)> 
<!ELEMENT TableTitleRow (#PCDATA)>
<!ELEMENT TableRows (TableHeadRow | TableDataRow | TableNoteRow)+>
<!ELEMENT TableHeadRow (TableData)+>
<!ELEMENT TableDataRow (TableData)+>
<!ELEMENT TableData (#PCDATA | Paragraph | Image)*>
<!ELEMENT TableNoteRow (#PCDATA)>
<!ATTLIST TableData

Note: The above table declaration is one of three formats supported by Atomik Xport. Although you are free to modify the content model and attributes of the cell elements (in this format, the TableData element), if you make any further changes to the three table content models, the table extraction will not work.

The table below lists the attribute names specific to tables, along with a description of the metadata they will cause Atomik Xport to extract.

Attribute name  Description 
align  The alignment of table cells. Possilble values extracted are left, right, center, and for tabbed tables, decimal. 
cellstyle  The InDesign cell style applied to the cell (distinct from paragraph or character style). 
colspan  The number of columns spanned by the cell 
rowspan  The number of rows spanned by the cell 
tablestyle  The Indesign table style applied to the table.