Web features explorer

XMLSerializer

Widely available
Tags: api Groups: Parsing and serialization XML

The XMLSerializer API provides the serializeToString() method to construct an XML string representing a DOM tree. To learn more, see XMLSerializer at MDN.

Compatibility