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.

EventTarget Node Document XMLDocument

属性

Also inherits properties from: Document

XMLDocument.async 非标准 已弃用

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

方法

Also inherits methods from: Document

XMLDocument.load() 非标准 已弃用

Loads an XML document.

规范

Specification
DOM Standard
# xmldocument

浏览器兼容性

BCD tables only load in the browser

另请参见