Reference serialize()

serialize()

Returns the element as a String.

myXML.serialize() is useful for sending the element over the network or saving it to a file.

Examples

Syntax

serialize()

Parameters

Returns

String: element as a string.

Related References