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 Non-Standard Deprecated
Used with XMLDocument.load() to indicate an asynchronous request.

方法

Also inherits methods from: Document

XMLDocument.load() Non-Standard Deprecated
Loads an XML document.

规范

规范 状态 备注
DOM
XMLDocument
Living Standard 没有变化。
DOM4
XMLDocument
Obsolete 初步定义。

浏览器兼容性

BCD tables only load in the browser

另请参见