Adding or Editing a Document Type Association (Framework)

To add or edit a Document Type Association, open the Preferences dialog box and go to Document Type Association. From this Document Type Association preferences page you can use the New, Edit, Duplicate, or Extend buttons to open a Document Type configuration dialog box that allows you to customize a new or existing document type (framework).

Figure: The Document Type Configuration Dialog Box

You can specify the following properties for a document type:

Note: You can also customize the initial mode for a document type in the Edit modes preferences page. Open the Preferences dialog box and go to Editor > Edit modes.

You can specify the Association rules used for determining a document type for an opened XML document. A rule can define one or more conditions. All conditions need to be fulfilled in order for a specific rule to be chosen. Conditions can specify:

In the Schema tab, you can specify the type and URI of schema used for validation and content completion of all documents from the document type, when there is no schema detected in the document.

You can choose one of the following schema types:

Related tasks
Customizing the Main CSS of a Document Type
Related information
Selecting and Combining Multiple CSS Styles