Small and simple XML files can be viewed and edited using Vim. However, a XML viewer and editor is required if the XML file is large and complicated. XML Copy Editor is a viewer and editor for XML files that runs on Ubuntu.
To install it:
$ sudo apt install xmlcopyeditor
Tried with: XML Copy Editor 188.8.131.52 and Ubuntu 14.04