XML Nodes in the Explorer

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

The contextual menu for XML nodes contains the following commands:

The following table lists the nodes with which XML documents are represented in the Explorer and the tree editor mode of the Source Editor. It also lists the properties you can access in the left panel of the tree editor mode. In the Explorer, you can access these properties by right-clicking a node and choosing Customize.

Icon Description Properties
XML object node icon XML object node. 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, its node contains the following subnodes. Except for the DOCTYPE node, all DOCTYPE properties are read-only in tree editor mode.

Icon Description Properties
DOTYPE node icon DOCTYPE node. Contains 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 XML Module
Editing an XML Document

Legal Notices