Sets the custom doctype.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
string this.setcustomdoctype(string value)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
string page.<id>.setcustomdoctype(string value)

Parameters

Name Data Type Description
value String The custom doctype.

Return Value

Data Type Description
String The custom doctype.

Used in

Macro Description
HtmlPage Html container macro that helps you setting the doctype and the encoding of the document.
XHtmlPage Xhtml container macro that helps you setting the doctype, the xml declaration and the encoding of the document.

Expand image Example

SXML