Chapter 4. Emacs and nXML Mode

4.1. Getting the nXML RPM
4.2. Examples
4.2.1. Commands
4.3. Additional Resources
4.4. nXML README File

You can also use the nXML mode available for Emacs to make it even easier to write in DocBook XML format. nXML mode provides context-sensitive editing using completion, real time validity error checking, syntax highlighting and indentation. All you need to do is install an RPM!!

[Note]Early stages

Please be aware the nxml-mode for Emacs is quite new, so there are a few things that the advanced user might notice when using it with other documents types. If you keep an eye on the mailing-list, you can keep up to date with these, as well as ask questions. For more details, check out Section 4.4, “nXML README File”.

4.1. Getting the nXML RPM

To use nXML mode with emacs, you will need to install the nXML RPM available from Tim Waugh's website or the source from http://www.thaiopensource.com/download/. The source requires a lot more work to setup, therefore we will only be concentrating on the RPM version.

Information on where to get the source is available in Section 3.7, “Additional Resources”.