この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
XMLDocumentChrome Full support 45Edge Full support YesFirefox Full support 1IE No support NoOpera No support NoSafari No support NoWebView Android Full support 45Chrome Android Full support 45Firefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
async
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 1 — 68
Notes
No support 1 — 68
Notes
Notes See bug 1328138 for removal.
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 68
Notes
No support 4 — 68
Notes
Notes See bug 1328138 for removal.
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
load
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3 — 68
Notes
No support 3 — 68
Notes
Notes See bug 332175 for removal.
No support 1 — 3
Notes
Notes Before version 3, Firefox supported cross-origin loads, even in cases where this would violate CORS.
IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 68
Notes
No support 4 — 68
Notes
Notes See bug 332175 for removal.
Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.

See also

ドキュメントのタグと貢献者

最終更新者: ExE-Boss,