XML Nodes in the Explorer

The IDE displays all XML documents as XML object nodes (XML object node icon) in the Explorer and the XML editor. Each node expands to reveal subnodes for each of its elements, attributes, comments, and other XML objects.

Contextual Menu Commands

The contextual menu for XML nodes contains the following commands:

Node Icons and Properties

The following table lists all the XML nodes that appear in the Explorer and the XML editor. It also lists the properties each node displays in the XML editor and Properties window.

Icon Description Properties
XML object node icon XML object node, the top-level node for all XML documents
  • Version
  • Encoding
  • Standalone
Element node icon Element
  • Name
  • Attribute List
Element attribute category node Element attributes list
  • Attribute List
Atribute node icon Attribute
  • Name
  • Value
Comment node icon Comment
  • Content
CDATA node icon CDATA
  • Content
Text node icon Text
  • Content
entity reference node icon Entity reference
  • Name
Processing instructions node icon Processing instructions
  • Target
  • Content

If your XML document also contains a DOCTYPE, the DOCTYPE node contains the subnodes shown in the following table. Except for the DOCTYPE node, all DOCTYPE properties are read-only in the XML editor and in the Properties window.

Icon Description Properties
DOTYPE node icon DOCTYPE node with the markup declarations that provide a grammar for classes of documents
  • 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
  • Public ID
  • System ID
Notation declaration category
  • None
Notation declaration
  • Name
  • ID
Paramater entity reference icon Parameter entity reference
  • Name
Parameter entity declaration
  • Name
  • Type
  • Public ID
  • System ID
See also
The Explorer
DTD Nodes in the Explorer
Changing the Display of XML Nodes
Editing an XML Document
Validating an XML Document
Generating a DOM Tree Scanner
SAX Support in the IDE

Legal Notices