Platform Support
| IE | Mozilla | Netscape | Opera | Safari | no | 1.0+ | 6.0+ | no | no |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
|---|---|---|---|---|---|---|---|---|
|
Entity Constructor() : Entity
Represents an entity in an XML Document Type Definition (DTD).
|
Show Details | no | 1.0+ | 6.0+ | no | no | ||
Entity() : EntityRepresents an entity in an XML Document Type Definition (DTD). Returns
|
||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
notationName
: String
Notation name for an unparsed entity.
|
Show Details | no | 1.0+ | 6.0+ | no | no |
|
||||||
|
publicId
: String
Public identifier for this entity, if specified
|
Show Details | no | 1.0+ | 6.0+ | no | no |
|
||||||
|
systemId
: String
System identifier for this entity, if specified
|
Show Details | no | 1.0+ | 6.0+ | no | no |
|
||||||
Remarks
This object represents an entity from a EntityReference objects.
While the entity name is stored in the Entity nodes will always be null.
Entity objects are read-only and cannot be modified once they are added to the document or after a document is
loaded. If you need to change an entity's contents you should create a new one and change all the
EntityReference nodes that referred to the old entity to refer to the new one instead.
References
DocumentType|EntityReference|Notation
Availability
HTML DOM Level 2|W3C
