Developer Documentation Library > Data Model > Accessing the UNICOM Intelligence Data Model > Working with the Metadata Model > MDM custom properties > HTMLDocType and HTMLOptions custom properties > HTMLDocType custom property
 
HTMLDocType custom property
The HTMLDocType custom property can be used to specify the HTML DocType that is used in the rendered survey page. The property can be set to the default HTML DocType (if not set elsewhere):
<!Doctype html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The property can also be set to the special value of UseTemplateDocType.
When the property is set to UseTemplateDocType, the HTML DocType that is specified in the layout template is used. When the property is not specified, the HTML Player reverts to its previous behavior of using the web.config file setting (if present), or to the default DocType.
The property can be specified in UNICOM Intelligence Professional or via the Custom Properties tab in UNICOM Intelligence Author. If the custom property is not specified in the MDM document, each application will use a default HTML DocType which can be defined in the following locations:
mrIWeb: Configured in the web.config file.
Author: The DocType can be exposed via the application's Tools Options Preview feature.
Professional: Available in the application's Options HTML DocType feature.
UNICOM Intelligence Interviewer - Offline for Windows: Available via a configuration option in the Interviewer.config file. For more information, see Distributing a configuration file to multiple users.
For example, the property can be added to the mrScriptMeta definition as follows:
Metadata(en-GB, Question, Label)
HDATA -
[
Template = "DefaultLayout.htm",
HtmlDoctype = "<!DOCTYPE HTML>"
];
See also
Custom properties used for card and column information