Setting up your XSD aware XML editor

Some configuration files are provided with an associated XSD file. The XSD file provides client-side validation, and makes it easier to develop your XML configuration files.

About this task

It is recommended that you use an XSD-aware XML editor with intelligent code completion.

The following instructions describe how to install Visual Studio Code and the XML Language Support by Red Hat extension.

Procedure

  1. Download and install Visual Studio Code, https://code.visualstudio.com/.
  2. In Visual Studio Code, install the XML Language Support by Red Hat extension.
    For information about how to install extensions, see https://code.visualstudio.com/docs/editor/extension-gallery.

Results

After you install and configure your editor, you should use this editor whenever the instructions tell you to use an XSD-aware XML editor.

If you are using Visual Studio Code, the associated XSD file must be in the same directory as the XML file that you are editing.