string

The string function converts the given argument to a string.

Syntax

string( [object] )

Parameters

object (optional)

The object to convert to a string. If omitted, the context node is used.

Return value

A string

Description

Specifications

XPath 1.0 4.2

Gecko support

Supported.