Oxygen XML Editor uses document type associations to associate a document type with a set of functionality provided by a
framework. To configure the Document Type Association options, open the
Preferences dialog box and go to .
The following actions are available in this preferences page:
- Discover more frameworks by using add-ons update sites
- Click on this link to specify URLs for framework add-on update sites.
- Document Type Table
- This table presents the currently defined document type associations (frameworks),
sorted by priority and alphabetically. Each edited document type has a set of
association rules (used by the application to detect the proper document type
association to use for an opened XML document). A rule is described by:
- Namespace - Specifies the namespace of the root element
from the association rules set (* (any) by default). If you want to apply the
rule only when the root element has no namespace, leave this field empty (remove the
ANY_VALUE string).
- Root local name - Specifies the local name of the root
element (* (any) by default).
- File name - Specifies the name of the file (* (any)
by default).
- Public ID - Represents the Public ID of the matched
document.
- Java class - Presents the name of the Java class, which is
used to determine if a document matches the rule.
- New
- Opens a Document type configuration dialog box that allows
you to add a new association.
- Edit
- Opens a Document type configuration dialog box that allows
you to edit an existing association.
Note: If you try to edit an existing association
type when you do not have write permissions to its store location, a dialog box will
be shown asking if you want to extend the document type.
- Duplicate
- Opens a Document type configuration dialog box that allows
you to duplicate the configuration of an existing document type association.
- Extend
- Opens a Document type configuration dialog box that allows
you to extend an existing document type. You can add or remove functionality starting
from a base document type. All of these changes will be saved as a patch. When the base
document type is modified and evolves (for example, from one application version to
another) the extension will evolve along with the base document type, allowing it to use
the new actions added in the base document type.
- Delete
- Deletes the selected document type associations.
- Enable DTD/XML Schema processing in document type
detection
- When this option is enabled (default value), the matching process also examines the
DTD/XML Schema associated with the document. For example, the fixed attributes declared
in the DTD for the root element are also analyzed, if this is specified in the
association rules. This is especially useful if you are writing DITA customizations.
DITA topics and maps are also matched by looking for the
DITAArchVersion attribute of the root element. This attribute is
specified as default in the DTD and it is detected in the root element,
helping Oxygen XML Editor to correctly match the DITA customization.
- Only for local DTDs/XML Schemas
- When this option is enabled (default value), only the local DTDs / XML Schemas will be
processed.
- Enable DTD/XML Schema caching
- When this option is enabled (default value), the associated DTDs or XML Schema are
cached when parsed for the first time, improving performance when opening new documents
with similar schema associations.