Definition of an Object Type
Each object type which is to appear in the object info of Arbortext IsoDraw must be defined in the DTD. What is more, a list of attributes must exist for every type. The following example defines an object type SparePart with standard attributes:
<!ELEMENT SparePart *>
<!ATTLIST SparePart
%defAttrs;
>
The key elements are:
<!ELEMENT
|
Start of definition
|
SparePart
|
Object type
|
*>
|
End of definition (for SGML experts: Arbortext IsoDraw ignores any structure rules at this point)
|
The lines which follow define an attribute list as described in the following section.
Only the characters a–z, A–Z, 0–9, $+-_ (without commas) may be used for the object type.
Each DTD must contain a definition for object type grobject (graphical object). The minimum required definition is:
<!ELEMENT grobject *>
<!ATTLIST SparePart
%defAttrs;
>
During import, the term grobject is replaced by a designation in the relevant program language.