Adding a sub-element or an attribute to an XML tree structure
About this task
In the XML tree structure view, you are able to manually add a sub-element or an attribute to the root or to any of the existing elements when needs be.
To do either of these operations, proceed as follows:
Procedure
- In the XML tree you need to edit, right-click the element to which you need to add a sub-element or an attribute underneath and select Create Sub-Element or Create Attribute according to your purpose.
- In the pop-up Create New Element wizard, type in the name you need to use for the added sub-element or attribute.
- Click OK to validate this creation. The new sub-element or attribute displays in the XML tree structure you are editing.