XMLDocument

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.

Property

Also inherits properties from: Document

XMLDocument.async  This API has not been standardized.   This deprecated API should no longer be used, but will probably still work.
Used with XMLDocument.load() to indicate an asynchronous request.

Methods

Also inherits methods from: Document

XMLDocument.load()  This API has not been standardized.   This deprecated API should no longer be used, but will probably still work.
Loads an XML document.

Specifications

Specification Status Comment
DOM
The definition of 'XMLDocument' in that specification.
Living Standard No changes.
DOM4
The definition of 'XMLDocument' in that specification.
Obsolete Initial definition.

Browser compatibility

BCD tables only load in the browser

See also