BASELINE NowYouCanUse.com
Widely Available Parsing and serialization
id: xml-serializer

XMLSerializer

The XMLSerializer API provides the serializeToString() method to construct an XML string representing a DOM tree.
Baseline Status: Achieved Widely Available on Jan 29, 2018 (Cross-browser Newly Available since Jul 29, 2015).
Desktop Browser Engine Support
Google Chrome
1
Supported
Mozilla Firefox
1
Supported
Apple Safari
3
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
4
Safari iOS
1
Specifications and References