Xhtml container macro that helps you setting the doctype, the xml declaration and the encoding of the document.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:xhtmlpage /> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
CustomDoctype | String |
Trim
|
Sets the custom doctype. |
DocType | Enum | - |
Sets the Html Doctype.
Enum values:
|
Encoding | String |
Trim
|
Sets the encoding of the output stream. |
Inner | String |
RawData
Trim Default |
Sets the inner Xml of the Container module. |
OmitXmlDeclaration | Boolean | - | Sets the boolean indication whether the xml declaration should be outputted or not. |
XmlVersion | Float | - | Sets the XML version. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.DocTypeHeader | ✓ | Gets the HTML doctype string. |
This.GetDocType | ✓ | Gets the Html Doctype. |
This.GetEncoding | ✓ | Gets the encoding of the output stream. |
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.GetOmitXmlDeclaration | ✓ | Gets the boolean indication whether the xml declaration should be outputted or not. |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.SetCustomDocType | ✓ | Sets the custom doctype. |
This.SetDocType | ✓ | Sets the Html Doctype. |
This.SetEncoding | ✓ | Sets the encoding of the output stream. |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.SetOmitXmlDeclaration | ✓ | Sets the boolean indication whether the xml declaration should be outputted or not. |
This.SetXmlVersion | ✓ | Sets the XML version. |
This.XmlDeclaration | ✓ | Gets the XML declaration header currently associated with the page. |