Sets the XML version.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
this.setxmlversion(float version)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
page.<id>.setxmlversion(float version)

Parameters

Name Data Type Description
version Float The version.

Return Value

None.

Used in

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

Expand image Example

SXML