W3cubDocs

/Web APIs

XMLDocument

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.

EventTarget Node Document XMLDocument

Property

Also inherits properties from: Document.

Instance methods

Also inherits methods from: Document.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
XMLDocument 34
1–34Implemented as an alias for Document.
12 1 11 21
≤12.1–21Implemented as an alias for Document.
10
3–10Implemented as an alias for Document.
37
1–37Implemented as an alias for Document.
34
18–34Implemented as an alias for Document.
4 21
≤12.1–21Implemented as an alias for Document.
10
1–10Implemented as an alias for Document.
2.0
1.0–2.0Implemented as an alias for Document.

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument