Add Configuration File

Procedure

  1. In XML Options tab of the Settings dialog, click the Add Configuration File button.
    The following dialog appears:
    Add Configuration File dialog
  2. Type the name of the root element of your XML files in the Root Element text box. The name of the root element is used to name the configuration file.
  3. Click the Add Configuration File button.
    The following dialog appears:
    Grammar Configuration dialog
  4. Click the Add Element button to add the configuration of an element.
    The Element Configuration dialog appears:
    Element Configuration dialog
  5. Type the name of the element being added in the Element Name text box.
  6. Select the type of element in the Element Type drop-down list. Available types are:
    • segment: the selected element starts a new section of translatable text.
    • inline: the selected element represents a change in formatting options and does not start a new section of translatable text.
    • ignore: the selected element and its children should be ignored.
  7. If the element type is "inline", select the kind of formatting represented by the element in the Inline Type drop-down list.
  8. If the element has translatable attributes, enter their names separated by a ";" in the Translatable Attributes text box.
  9. If white space needs to be preserved when extracting text, select the Keep White Space check box.
  10. Click the Save Element Configuration button.
  11. Repeat the previous steps until all required elements have been configured.

Results

A new configuration file for the XML filter is created.