Create Profiling Condition Sets

Several profiling attributes can be aggregated into a profiling condition set that allow you to apply more complex filters on the document content. A Profiling Condition Set is a very powerful and convenient tool used to preview the content that goes into the published output. For example, an installation manual available both in Windows and Linux variants can be profiled to highlight only the Linux procedures for more advanced users.

To create a new profiling condition set:

  1. Open the Preferences dialog box and go to Editor > Edit modes > Author > Profiling/Conditional Text.
  2. In the Profiling Condition Sets area, press the New button.

    The Condition Set dialog box is opened:

  3. Fill-in the dialog box as follows:
    1. Type the condition set Name.
    2. Choose the Document type for which you have previously defined profiling attributes.
    3. If you want the Profiling Condition Set to reference a DITAVAL file, enable the Use DITAVAL file option and select the DITAVAL file from your disk.
      After choosing a document type, all profiling attributes and their possible values are listed in the central area of the dialog box.
    4. Define the combination of attribute values by selecting the appropriate checkboxes in the Include the content matching the following conditions section.
      If you have defined a lot of profiling attributes, you can use the filter text field to search for specific conditions.
  4. Click OK.
  5. Click Apply to save the condition set. All saved profiling condition sets are available in the Profiling / Conditional Text toolbar drop-down menu.