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


Also inherits properties from: Document.

XMLDocument.async Non-standard Deprecated

Used with XMLDocument.load() to indicate an asynchronous request.

Instance methods

Also inherits methods from: Document.

XMLDocument.load() Non-standard Deprecated

Loads an XML document.


DOM Standard
# xmldocument

Browser compatibility

BCD tables only load in the browser

See also