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
This interface has no specific property and doesn't inherit any.
Methods
This interface doesn't add any new methods.
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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic support | Chrome No support No | Edge Full support Yes | Firefox Full support 1 | IE No support No | Opera No support No | Safari No support No | WebView Android No support No | Chrome Android No support No | Edge Mobile Full support Yes | Firefox Android Full support 4 | Opera Android No support No | Safari iOS No support No | Samsung Internet Android No support No |
load | Chrome No support No | Edge No support No | Firefox
Full support
3
| IE No support No | Opera No support No | Safari No support No | WebView Android No support No | Chrome Android No support No | Edge Mobile No support No | Firefox Android
Full support
4
| Opera Android No support No | Safari iOS No support No | Samsung 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
Document Tags and Contributors
Tags:
Contributors to this page:
SaschaNaz,
ExE-Boss,
sideshowbarker,
fscholz,
allen-b1,
r-o-b,
teoli,
MHasan,
maxmarchuk
Last updated by:
SaschaNaz,