Kate

Kate is an extensible and powerful text editor which is part of the kdebase module. Kate can syntax highlight DocBook documents out of the box, and is generally a very powerful editor, but you can get even more XML specific functionality installing the XML plugin for Kate.

Procedure 4.4. Installing the XML plugin for Kate

  1. The XML plugin for Kate is available as part of the kdeaddons module, which is released as part of KDE. Binary packages are available for the majority of the distributions. Install the binary package using your distribution tools or compile kdeaddons to install the plugin.

  2. Open the Configure Kate dialog by choosing the SettingsConfigure Kate... menu item.

  3. Select the Plugins item from the Application tree. Check the Kate XML Completion and the Kate XML Validation boxes.


    A screenshot of Kate's Plugin Manager Configure Dialog

    A screenshot of Kate's Plugin Manager Configure Dialog


  4. Press OK.

With the XML plugin for Kate installed, you will have autocompletion, autoclosing for DocBook tags and entities. Since KDE documentation uses entities widely, this is a very welcome feature. Additional XML tools will be available trough the XML menu (in special, trough the Validate XML menu item, which will allow you to check your DocBook documents). The output of this action will appear in the XML Checker Output button in the side bar located in the lower part of Kate's main window.


A screenshot of Kate's Main Window showing the XML Checker Output

A screenshot of Kate's Main Window showing the XML Checker Output