Emacs nxml-mode
16 Jan, 2004
Good, free, XML editors: they're surprisingly hard to come by.
I've been using GNU Emacs' standard sgml-mode, augmented with my own xml-lite for indentation. (In truth, I used the CVS version of sgml-mode, which amounts to the same thing.) And I've found this to be quite adequate for my XML-editing needs ... even if it's not DTD-savvy.
Then, a couple of days ago, I discovered James Clark's wonderful nxml-mode package ... and let me tell you, it rocks! Features include:
- Validation and context-sensitive completion, using RELAX NG schemas.
- On-the-fly, in-the-background checking for well-formedness and validity, with highlighting of errors.
- Speedy, robust indentation (better than xml-lite, methinks).
Very, very nice work.
Feedback