Adds the namespace.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
this.addnamespace(string prefix, string ns)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
page.<id>.addnamespace(string prefix, string ns)

Parameters

Name Data Type Description
prefix String The prefix.
ns String The namespace.

Return Value

None.

Used in

Macro Description
Metadata Provides metadata that can be included in an HTML page and forwarded to external components such as the PDF generator and Image Processor.
SXML