Entity Interface
This interface represents an entity, either parsed or unparsed in an XML document. This interface models the entity itself not the entity declaration.
IDL Definition
interface Entity : Node {
readonly attribute DOMString pubicId;
readonly attribute DOMString systemId;
readonly attribute DOMString notationName;
};
Semantic Requirements
- The nodeName attribute (from the Node interface) contains the name of the entity.
Attributes
- The publicId attribute contains the public identifier associated with the entity, if one was specified.
- If no public identifier was specified, the publicId attribute is null.
- The systemId attribute contains the system identifier associated with the entity, if one was specified.
- If no system identifier was specified, the systemId attribute is null.
- The notationName attribute is null for parsed entities
If you have comments or suggestions, email me at mbrady@nist.gov