I am trying to develop a simple XML Editor for D7. I'd like to use codemirror for that but I cannot figure out how to get it working. What I did was adding a new library with hook xmledit_library and simply added the xml.js to xmledit_form_alter. I havent done any changes with the codemirror files so I dont know if that does work that way. I am bit frustrated by now, reviewin x wysiwyg editors and the whole buildamodule video pres and still cant figure out how that works. Maybe I can get some hints here...

thx