XML DOM toString() method

Definition and usage

The toString() method retrieves the content of the range in plain text string format.

Syntax:

toString()

Return value

Returns the content of the current range in plain text (without markup).