The XML Editor provides an editable tree that makes it easy to create, duplicate, and remove fields, as well as to edit field content.

The bar at the top of the editor provides the following functionality: 

 
You can add and duplicate attributes / namespaces / elements, we well as delete items, using the commands available from the command icons.
 
Additionally, you can rearrange fields by dragging and dropping a field's drag icon.