The IDE displays all XML documents as XML object nodes ()
in the Explorer and the XML 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 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, the 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, 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 |
---|---|---|
![]() |
DOCTYPE node with the 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 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 |