Document Type Property Sheet Field
When Contenta objects are opened in an XML or SGML editor, the editor:
- reads the data in the object’s Document Type property sheet field
- matches the data in the Document Type field to a key in the Contenta Explorer Tool Preferences
- uses the information to build the header
If the values are not defined in Tool Preferences, the following defaults are assumed:
| Name | Default Value |
|---|---|
| DATATYPE | xml |
| XMLDECL | <?xml version=”1.0”?> Default encoding is UTF-8 |
| PUBID | no default value—this value must be defined in Tool Preferences |
If the DATATPE is not xml, the XMLDECL value is ignored. For example, if you define DATATYPE as sgml, you do not have to add the XMLDECL value. If DATATYPE is sgml and there is an XMLDECL value, it is ignored.