Availability
DOM Level 1 XML
Inherits from/Overrides
Node
Properties
readonly String notationName
The notation name (for unparsed entities), or null
if there is none (for parsed entities). See the
notations property of DocumentType for a way to
look up a Notation node by name.
readonly String publicId
The public
identifier for this entity, or null if none was
specified.
readonly String systemId
The system
identifier for this entity, or null if none was
specified.
Description
This infrequently used interface represents an entity in an
XML
document type definition (DTD). It is never used with HTML documents.
The name of the entity is specified by the
nodeName property inherited from the Node
interface. The entity content is represented by the child nodes of
the Entity node. Note that Entity nodes and their children are not
part of the document tree (and the parentNode
property of an Entity is always null). Instead, a
document may contain one or more references to an entity; see
EntityReference for more information.
Entities are defined in the DTD of a document, either as part of an
external DTD file or as part of an "internal subset" that
defines local entities specific to the current document. The
DocumentType interface has an entities property
that allows Entity nodes to be looked up by name. This is the only
way to obtain a reference to an Entity node; because they are part of
the document type, Entity nodes never appear as part of the document
itself.
Entity nodes and all of their descendants are read-only and cannot be
edited or modified in any way.
See Also
DocumentType, EntityReference, Notation
•
Table of Contents
•
Index
•
Reviews
•
Examples
•
Reader Reviews
•
Errata
JavaScript: The Definitive Guide, 4th Edition
By
David Flanagan
Publisher
: O'Reilly
Pub Date
: November 2001
ISBN
: 0-596-00048-0
Pages
: 936
Slots
: 1
This fourth edition of the definitive reference to
JavaScript, a scripting language that can be embedded
directly in web pages, covers the latest version of the
language, JavaScript 1.5, as supported by Netscape 6 and
Internet Explorer 6. The book also provides complete
coverage of the W3C DOM standard (Level 1 and Level 2),
while retaining material on the legacy Level 0 DOM for
backward compatibility.