Atomik Xport SE: Reference > Chapter 11 Working With DTDs for Atomik Xport << >>

11.3 The Table declaration

Atomik Xport will automatically extract table data from QuarkXPress projects. 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
colspan CDATA #IMPLIED
rowspan CDATA #IMPLIED
>

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. 
colspan  The number of columns spanned by the cell 
rowspan  The number of rows spanned by the cell