Provides the serializeToString() method to construct an XML string representing a DOM tree. View Source js/lib.dom.d.ts, line 7156