Our volunteers haven't translated this article into 한국어 yet. Join us and help get the job done!
You can also read the article in English (US).

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.


This interface has no specific property and doesn't inherit any.


This interface doesn't add any new methods.

Loads an XML document.


Specification Status Comment
HTML Living Standard
The definition of 'Extension to XMLDocument' in that specification.
Living Standard No change from HTML5
The definition of 'Extension to XMLDocument' in that specification.
Recommendation Adds the load() method.
The definition of 'XMLDocument' in that specification.
Living Standard Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No Yes1 No No No
load No No


1 — 32

No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No Yes4 No No No
load No No No41 No No No

1. See bug 332175 for removal.

2. Before version 3, Firefox supported cross‑origin loads, even in cases where this would violate CORS.

See also

문서 태그 및 공헌자

이 페이지의 공헌자: fscholz, allen-b1, r-o-b, teoli, MHasan, maxmarchuk
최종 변경: fscholz,