Editing XML document
An XML document follows a tree structure, which is displayed in the left
side of the editor; Tree nodes contain the <ELEMENT> nodes which can contain
one or more child nodes;
List of Nodes:
1. Element
2. Text
3. Comment
4. Attribute
5. Process Instruction
6. CDATA Section
To add ELEMENT nodes
Insert Element
will create a new element node at the same level as the currently
selected node
one and adds the new one next.
Insert Child Element
will create a new element as a child of the currently selected
one; New node
will be the last child of the current node
Cut
will cut the current node and the subtree
Copy
will copy the current node and the subtree
Paste
will paste the node and its subtree which was cut/copied before onto
the
node which is currently selected. If it was cut then the node from its previous
location is deleted
Delete
will delete the current node and the subtree
To add Other Nodes
Other node types listed above cannot have children of their own. These nodes can
be added/edited in a list view on the right side of the editor.
Steps:
1. Select the <NODETYPE> from the first column
of the list
2. For Attribute and Process Instruction(PI) nodes
add name in 2nd column
3. Add value of the node in 3rd column
Note: For Text, Comment and CDATA Section
nodes Name column is disabled