Changes CodeMirror mode from HTML to XMl