📅  最后修改于: 2020-11-10 05:12:55             🧑  作者: Mango
实体接口表示XML文档中已解析或未解析的已知实体。从Node继承的nodeName属性包含实体的名称。
实体对象没有任何父节点,并且其所有后继节点都是只读的。
下表列出了Entity对象的属性-
Attribute | Type | Description |
---|---|---|
inputEncoding | DOMString | This specifies the encoding used by the external parsed entity. Its value is null if it is an entity from the internal subset or if it is not known. |
notationName | DOMString | For an unparsed entities, it gives the name of the notation and its value is null for the parsed entities. |
publicId | DOMString | It gives the name of the public identifier associated with the entity. |
systemId | DOMString | It gives the name of the system identifier associated with the entity. |
xmlEncoding | DOMString | It gives the xml encoding included as a part of the text declaration for the external parsed entity, null otherwise. |
xmlVersion | DOMString | It gives the xml version included as a part of the text declaration for the external parsed entity, null otherwise. |