Associate DRM files with an XML editor

When you create a product, library, release, or version, the DITA CMS creates an XML file that defines that product, library, release, or version.

These files include the definition of the product, library, release, or version, including metadata specified in the dialog box when creating the object, such as the object name and description. You can also add your own metadata to these files if appropriate. Since these are XML files, they can be most easily edited in your preferred XML editor. These files have the following extensions:
  • Product files: *.product
  • Library files: *.library
  • Release files: *.release
  • Version files: *.version

To ensure that you can open them in your XML editor, you must set up your Eclipse preferences as described below.

  1. From the Window menu, select Preferences.
    The Preferences dialog opens.
  2. Select General > Editors > File Associations.
    The File Associations pane appears.
  3. Click the Add button next to the File types list.
    The New File Type dialog appears.
  4. In the File Type entry field, enter *.product.
    Make sure to add the asterisk before the .product extension.
  5. Click OK.
  6. With the .product file type selected, click the Add button next to the Associated editors list.
    The Editor Selection dialog appears.
  7. Select your XML editor.
    Note: There may already be an editor associated with .product files. If that's the case, select your XML editor in the Associated editors list and click Default.
  8. Repeat steps 3 to 7 for the *.library , *.release, and *.version file types.
  9. Click OK.