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
- Used with
XMLDocument.load()
to indicate an asynchronous request.
Methods
Also inherits methods from: Document
XMLDocument.load()
- 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