
- XML DOM Basics
- XML DOM - Home
- XML DOM - Overview
- XML DOM - Model
- XML DOM - Nodes
- XML DOM - Node Tree
- XML DOM - Methods
- XML DOM - Loading
- XML DOM - Traversing
- XML DOM - Navigation
- XML DOM - Accessing
- XML DOM Operations
- XML DOM - Get Node
- XML DOM - Set Node
- XML DOM - Create Node
- XML DOM - Add Node
- XML DOM - Replace Node
- XML DOM - Remove Node
- XML DOM - Clone Node
- XML DOM Objects
- DOM - Node Object
- DOM - NodeList Object
- DOM - NamedNodeMap Object
- DOM - DOMImplementation
- DOM - DocumentType Object
- DOM - ProcessingInstruction
- DOM - Entity Object
- DOM - EntityReference Object
- DOM - Notation Object
- DOM - Element Object
- DOM - Attribute Object
- DOM - CDATASection Object
- DOM - Comment Object
- DOM - XMLHttpRequest Object
- DOM - DOMException Object
- XML DOM Useful Resources
- XML DOM - Quick Guide
- XML DOM - Useful Resources
- XML DOM - Discussion
DOM - Entity Object
Entity interface represents a known entity, either parsed or unparsed, in an XML document. The nodeName attribute that is inherited from Node contains the name of the entity.
An Entity object does not have any parent node, and all its successor nodes are read-only.
Attributes
The following table lists the attributes of the Entity object −
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. |
Advertisements