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:
-
Open the
Preferences dialog box and go to .
-
In the Profiling Condition Sets area, press the New button.
The Condition Set dialog box is opened:
-
Fill-in the dialog box as follows:
-
Type the condition set Name.
-
Choose the Document type for which you have previously
defined profiling attributes.
-
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.
-
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.
-
Click OK.
-
Click Apply to save the condition set. All saved profiling
condition sets are available in the
Profiling / Conditional Text toolbar drop-down menu.