Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | Netscapte | no | 1.0+ | 6.0+ | no | no | no |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Represents an entity in an XML Document Type Definition (DTD). | no | 1.0+ | 6.0+ | no | no | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Notation name for an unparsed entity. | no | 1.0+ | 6.0+ | no | no | no |
Public identifier for this entity, if specified | no | 1.0+ | 6.0+ | no | no | no |
System identifier for this entity, if specified | no | 1.0+ | 6.0+ | no | 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
Constructor Detail
Property Detail
String notationName - read only
Notation name for an unparsed entity.
- Remarks
- If this entity is unparsed,
notationNamecontains the notation name of the entity notation.notationNameisnullfor parsed entities. - Availability
HTML DOM Level 2 | W3C
String publicId - read only
Public identifier for this entity, if specified
- Remarks
- If this entity was defined with a public identifier, then this property will contain that value, otherwise it will return null.
- Availability
HTML DOM Level 2 | W3C
String systemId - read only
System identifier for this entity, if specified
- Remarks
- If this entity was defined with a system identifier, then this property will contain that value, otherwise it will return null.
- Availability
HTML DOM Level 2 | W3C
