DTD Nodes in the Explorer

A document type definition (DTD) describes the tags that can be used in an XML file and indicates the valid arrangement of those tags. It can exist as a prologue to an XML file (internal DTD) or as a separate file (external DTD).

You can edit a DTD in the Source Editor by double-clicking its Explorer node or by right-clicking its node and choosing Edit. You can also view a DTD in the XML editor by right-clicking its node and choosing Open. However, the XML editor displays DTDs only in read-only form.

The contextual menu for external DTD nodes contains the following commands:

DTD objects are represented by the following nodes in the Explorer:

Icon Description Properties
DTD object node icon Document type declaration (DTD) object
  • Name
  • System ID
  • Public ID
Element declaration category
  • None
Element declaration
  • Name
  • Content
Attribute declaration category
  • None
Attribute declaration
  • Element name
  • Attribute list
Attribute definition
  • Element name
  • Name
  • Type
  • Enumerated
  • Default Type
  • Default
Entity declaration
  • None
DTD entity node icon Entity definition
  • Name
  • Type
  • Text
Notation declaration category
  • None
Notation declaration
  • Name
  • ID
Parameter entity declaration
  • Name
  • Type
  • Public ID
  • System ID
See also
The Explorer
XML Nodes in the Explorer
Creating a DTD

Generating DTD Documentation
Working With XML Schemas
Generating a DOM Tree Scanner
Generating a SAX Document Handler
Creating a Cascading Style Sheet

Legal Notices