Nxml (Native XML) Mode
Native XML mode is a GNU Emacs major mode for editing XML files.
It is known to work with EMACS version 21.3.2.
The latest version is version 0.1. You can download it
here.
Features
Nxml mode currently supports the following features:
-
Font-locking with customizable faces.
-
Automatic synchronization of start and end tags names. If you
change the name of one tag, the matching tag automatically changes.
-
Navigation commands and key bindings loosely based on the
standard emacs "sexp" commands.
-
An indentation engine that supports alignment of attributes.
-
"Electric" versions of the keys "<", "/", ">", newline, and
backspace that perform a small amount of autocompletion.
-
Preliminary support for paragraph filling.
-
Full understanding of document structure. Nxml mode doesn't
approximate XML using regular expressions. It uses custom parsing
code that implements a variant of the XML specification. Strictly
speaking, the parsing is not XML compliant because it doesn't catch
very many well-formedness errors (this is by design, since a
document under construction is rarely well-formed). But any
well-formed document should be correctly parsed by Nxml mode.
Paul Berry, 4/25/04.