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

  1. The nodeName attribute (from the Node interface) contains the name of the entity.
  2. Attributes

  3. The publicId attribute contains the public identifier associated with the entity, if one was specified.
  4. If no public identifier was specified, the publicId attribute is null.
  5. The systemId attribute contains the system identifier associated with the entity, if one was specified.
  6. If no system identifier was specified, the systemId attribute is null.
  7. The notationName attribute is null for parsed entities

If you have comments or suggestions, email me at mbrady@nist.gov