A program which creates and updates XML documents is called an "XML editor". However, they vary a lot. Here some common general types:
(This list and the descriptions that follow come from the AHDS report Choosing an XML Editor by Thijs van den Broek.)