an XML mode for the CodeMirror component