aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/xmldocument/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/xmldocument/index.html')
-rw-r--r--files/zh-cn/web/api/xmldocument/index.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/xmldocument/index.html b/files/zh-cn/web/api/xmldocument/index.html
new file mode 100644
index 0000000000..4bac602b27
--- /dev/null
+++ b/files/zh-cn/web/api/xmldocument/index.html
@@ -0,0 +1,68 @@
+---
+title: XMLDocument
+slug: Web/API/XMLDocument
+tags:
+ - API
+ - DOM
+ - XML
+ - 参考
+ - 接口
+translation_of: Web/API/XMLDocument
+---
+<p>{{APIRef("DOM")}}</p>
+
+<p>The <strong>XMLDocument</strong> interface represents an XML document. It inherits from the generic {{DOMxRef("Document")}} and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.</p>
+
+<p>{{InheritanceDiagram}}</p>
+
+<h2 id="属性">属性</h2>
+
+<p><em>Also inherits properties from: {{DOMxRef("Document")}}</em></p>
+
+<dl>
+ <dt>{{DOMxRef("XMLDocument.async")}} {{Non-standard_Inline}} {{Deprecated_Inline}}</dt>
+ <dd>Used with {{DOMxRef("XMLDocument.load()")}} to indicate an asynchronous request.</dd>
+</dl>
+
+<h2 id="方法">方法</h2>
+
+<p><em>Also inherits methods from: {{DOMxRef("Document")}}</em></p>
+
+<dl>
+ <dt>{{DOMxRef("XMLDocument.load()")}} {{Non-standard_Inline}} {{Deprecated_Inline}}</dt>
+ <dd>Loads an XML document.</dd>
+</dl>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ <th scope="col">备注</th>
+ </tr>
+ <tr>
+ <td>{{SpecName("DOM WHATWG", "#xmldocument", "XMLDocument")}}</td>
+ <td>{{Spec2("DOM WHATWG")}}</td>
+ <td>没有变化。</td>
+ </tr>
+ <tr>
+ <td>{{SpecName("DOM4", "#xmldocument", "XMLDocument")}}</td>
+ <td>{{Spec2("DOM4")}}</td>
+ <td>初步定义。</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+
+
+<p>{{Compat("api.XMLDocument")}}</p>
+
+<h2 id="另请参见">另请参见</h2>
+
+<ul>
+ <li><a href="/zh-CN/docs/Web/API/Document_Object_Model">DOM 接口索引</a></li>
+</ul>