Document Types > Integrating Table Models > Integrating Arbortext Tables in a DTD
  
Integrating Arbortext Tables in a DTD
To include the Arbortext table model in your DTD, you must add the appropriate entity declarations.
To integrate the Arbortext table model in your DTD:
1. In Arbortext Architect, choose File > Open, and select the DTD to which you want to add the Arbortext table model.
2. Choose Edit > DTD to open the DTD Editor.
3. After declaring the elements you plan to use in your tables, add the entity reference to the table cell content model that indicates the elements that you will allow in table cells. For example:
<!ENTITY % tblcon "#PCDATA|emphasis|%eqn|graphic">
4. After declaring the table cell content model, add the entity declaration for Arbortext table structures:
<!ENTITY % atitbls PUBLIC "-//Arbortext//
ELEMENTS Table Structures//EN">
5. Add a reference to this entity to incorporate the table model in your DTD:
%atitbls
6. Add the table element to existing content models in which you want to allow tables. For example, if you want to allow tables within paragraphs, you might create the following element declaration:
<!ELEMENT para - - ((%paracon)* | table) >
7. Save your changes and exit the DTD Editor.
When Arbortext Editor loads the document type, it will automatically detect the table model if you have defined the table, tablerow , tablecell, rowrule, and cellrule elements. If they are not defined, you must specify the arbortext table model in the document type's .dcf file. You can also turn off automatic table detection in the .dcf file.