blob: bcece696c5792ad09aa5df81f5c2332159b50e80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
---
title: Entity
slug: orphaned/Web/API/Entity
translation_of: Web/API/Entity
original_slug: Web/API/Entity
---
<p>{{APIRef("DOM")}} {{draft}} {{obsolete_header}}</p>
<p>对DTD实体的只读引用. 也继承 {{domxref("Node")}} 的方法和属性。</p>
<h2 id="属性">属性</h2>
<dl>
<dt>{{domxref("Entity.publicId")}} {{ReadOnlyInline}}</dt>
<dd>Is a {{domxref("DOMString")}}.</dd>
<dt>{{domxref("Entity.systemId")}} {{ReadOnlyInline}}</dt>
<dd>Is a {{domxref("DOMString")}}.</dd>
<dt>{{domxref("Entity.notationName")}}{{ReadOnlyInline}}</dt>
<dd>Is a {{domxref("DOMString")}}.</dd>
<dt>{{domxref("Entity.inputEncoding")}}{{ReadOnlyInline}}</dt>
<dd>Is a {{domxref("DOMString")}}.</dd>
<dt>{{domxref("Entity.xmlEncoding")}}{{ReadOnlyInline}}</dt>
<dd>Is a {{domxref("DOMString")}}.</dd>
<dt>{{domxref("Entity.xmlVersion")}}{{ReadOnlyInline}}</dt>
<dd>Is a {{domxref("DOMString")}}.</dd>
</dl>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>
<tr>
<th>Specification</th>
<th>Status</th>
<th>Comment</th>
</tr>
<tr>
<td>{{SpecName("DOM3 Core", "core.html#ID-527DCFF2", "Entity")}}</td>
<td>{{Spec2("DOM3 Core")}}</td>
<td><code>inputEncoding</code>, <code>xmlEncoding</code>, and <code>xmlVersion</code> were added</td>
</tr>
<tr>
<td>{{SpecName("DOM2 Core", "core.html#ID-527DCFF2", "Entity")}}</td>
<td>{{Spec2("DOM2 Core")}}</td>
<td>No change</td>
</tr>
<tr>
<td>{{SpecName('DOM1', 'level-one-core.html#ID-527DCFF2', 'Entity')}}</td>
<td>{{Spec2('DOM1')}}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
|