This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The XMLDocument interface represent 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 |
---|---|---|
HTML Living Standard The definition of 'Extension to XMLDocument' in that specification. |
Living Standard | No change from HTML5 |
HTML5 The definition of 'Extension to XMLDocument' in that specification. |
Recommendation | Adds the load() method. |
DOM The definition of 'XMLDocument' in that specification. |
Living Standard | Initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | No support | (Yes) | No support | No support | No support |
load() |
No support | ? | No support | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | No support | (Yes) | No support | No support | No support |
load() |
No support | ? | No support | No support | No support |