XMLDocument

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨September 2016⁩.

The XMLDocument interface represents an XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.

EventTarget Node Document XMLDocument

Instance properties

Also inherits properties from: Document.

Instance methods

Also inherits methods from: Document.

Specifications

Specification
DOM
# xmldocument

Browser compatibility

See also