Skip to main content Skip to complementary content

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

  1. 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.
  2. In the pop-up Create New Element wizard, type in the name you need to use for the added sub-element or attribute.
  3. Click OK to validate this creation. The new sub-element or attribute displays in the XML tree structure you are editing.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!