Executes SXML and returns the result.

Syntax

Smartsite SXML CopyCode image Copy Code
any sxml.execute(string sxml)
any sxml.execute(string sxml, boolean allowSyntaxExceptionCatching)

Parameters

Name Data Type Description
sxml String The SXML to execute.
allowSyntaxExceptionCatching Boolean If set to true, syntax exceptions can be caught using the error parameter.
Syntax Exceptions are normally uncatchable, except when rendering sxml indirectly using the embed macro.

Return Value

Data Type Description
Any Return value of the SXML execution

Expand image Examples

SXML