XMLDocument

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

XMLDocument 接口表示 XML 文档。它继承自通用的 Document,并未向其添加任何特定的方法或属性;然而,一些算法对于这两种类型的文档会有不同的行为。

EventTarget Node Document XMLDocument

实例属性

同时继承 Document 的属性

实例方法

同时继承 Document 的方法

规范

Specification
DOM
# xmldocument

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
XMLDocument

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
Has more compatibility info.

参见