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 Profiling/Conditional Text preferences page from Window > Preferences > oXygen > Editor > Edit modes > Author > Profiling / Conditional Text.
  2. In the Profiling Condition Sets area, press the New button.

    The following dialog is opened:

  3. Fill-in the dialog as follows:
    1. Type the condition set's name.
    2. Choose the document type for which you have previously defined profiling attributes. After choosing a document type, all profiling attributes and their possible values are listed in the central area of the dialog.
    3. Define the combination of attribute values by ticking the appropriate checkboxes.
  4. Click OK.
  5. Click Apply to save the condition set. All saved profiling condition sets are available in the Profiling / Conditional Text toolbar menu.

Apply Profiling Condition Sets

All defined Profiling Condition Sets are available as shortcuts in the Profiling / Conditional Text menu. Just click on a menu entry to apply the condition set. The filtered content is grayed-out.

An element is filtered-out when one of its attributes is part of the condition set and its value does not match any of the value covered by the condition set.

As an example, let us suppose that you have the following document:

If you apply the following condition set it means that you want to filter-out the content written for non-expert audience and having the Other attribute value different than prop1.

And this is how the document looks like after you apply the Expert user condition set: