XMLDocument

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

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

Property

Also inherits properties from: Document.

Instance methods

Also inherits methods from: Document.

Specifications

Specification
DOM Standard
# xmldocument

Browser compatibility

BCD tables only load in the browser

See also