About this task From an established XML tree, you may need to delete an element or an attribute. To do this, proceed as follows: Procedure In the XML tree you need to edit, right-click the element or the attribute you need to delete. In the pop-up contextual menu, select Delete. Then the selected element or attribute is deleted, including all of the sub-elements or the attributes attached to it underneath.