The IDE displays all XML documents as XML object nodes ()
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. Top-level node for all XML documents. |
|
![]() |
Element |
|
![]() |
Element attributes list |
|
![]() |
Attribute |
|
![]() |
Comment |
|
![]() |
CDATA |
|
![]() |
Text |
|
![]() |
Entity reference |
|
![]() |
Processing instructions |
|
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 |
---|---|---|
![]() |
DOCTYPE node. Contains markup declarations that provide a grammar for classes of documents. |
|
![]() |
Element declaration category |
|
![]() |
Element declaration |
|
![]() |
Attribute declaration category |
|
![]() |
Attribute declaration |
|
![]() |
Attribute definition |
|
![]() |
Entity declaration |
|
![]() |
Entity definition |
|
![]() |
Notation declaration category |
|
![]() |
Notation declaration |
|
![]() |
Parameter entity reference |
|
![]() |
Parameter entity declaration |
|
See also | |
---|---|
The XML Module Editing an XML Document |