{{DOMRef}}{{SeeCompatTable}}
The XMLDocument interface represent an XML document. It inherits from the generic {{domxref("Document")}} and do 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 inherit any method.
- {{domxref("XMLDocument.load()")}}
- Loads an XML document.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName("HTML WHATWG", 'dom.html#xmldocument', "Extension to XMLDocument")}} | {{Spec2('HTML WHATWG")}} | No change from {{SpecName("HTML5 W3C")}} |
{{SpecName("HTML5 W3C", "dom.html#loading-xml-documents", "Extension to XMLDocument")}} | {{Spec2('HTML5 W3C')}} | Adds the load() method. |
{{SpecName('DOM WHATWG', '#xmldocument', 'XMLDocument')}} | {{Spec2('DOM WHATWG')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatVersionUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
load() |
{{CompatNo}} | {{CompatUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatVersionUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
load() |
{{CompatNo}} | {{CompatUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |