Web features explorer

XMLSerializer

Widely available since 2018-01-29
Tags: api Groups: Parsing and serialization XML

The XMLSerializer API provides the serializeToString() method to construct an XML string representing a DOM tree.

Learning resources on MDN

Browser support