Returns the specified location as an unescaped string.

Syntax

Smartsite SXML CopyCode image Copy Code
string url.tostring(locator location)
string url.tostring(locator location, boolean absolute)
string url.tostring(locator location, boolean absolute, boolean escape)

Parameters

Name Data Type Description
location Locator The location.
absolute Boolean If set to true, returns the absolute location.
escape Boolean If set to true, escapes the url parameters.

Return Value

Data Type Description
String String representation of the location.

Expand image Remarks

Expand image Example

SXML