Skip to main content

Home > @jsplumbtoolkit/browser-ui > xml > xmlToString

xml.xmlToString() method#

Serializes the given XML node to a string, throwing an Error if something goes bad.

Signature:

static xmlToString(xmlNode: any): string;

Parameters#

ParameterTypeDescription
xmlNodeanyXML element to serialize.

Returns:

string

Serialized XML element.