`A number of text editors exist which have added functionality for XML encoding.
These functions often include syntax highlighting, validation, and sometimes auto-completion
of tags and attributes.'
An example:
Although we have only one example of a text editor, it is a ‘biggie’ in the TEI world.
There is a customisation, ‘TEI-Emacs’, which supports TEI.