TextPad is my text editor of choice for modifying XML or ArcXML files, mainly because it allows me to configure preferences, which color codes my files.

By coloring my code I am able to quickly identify any syntax errors that I may have made - such as a deleted quote.
You can download syntax definition files for TextPad from their Add-Ons page.