{ Frameless }

string($arg)

The string() or string($arg) function returns the value of the xs:string specified by $arg. If there is no argument specified, the function will default to the context item.

Arguments

ArgumentType
$argxs:string
Return valuexs:string

Examples

string(42)"42"
string(true())"true"
string(abc#1)Error FOTY0014
string("abc#1")"abc#1"