Edit online

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

Create Profiling Condition Sets

To create a new profiling condition set, follow these steps:
  1. Open the Preferences dialog box and go to Editor > Edit modes > Author > Profiling/Conditional Text.
    Information: The Profiling Condition Sets section is used to define condition sets.
  2. To add new condition set, click the New button at the bottom of the Profiling Condition Sets table. To customize existing condition sets, select an existing condition set and click the Edit button.

    Step Result: In either case, this opens a Condition Set configuration dialog box where you can define attributes that exist in your schema.

    Figure 1. Condition Set Configuration Dialog Box

    The following options are available in this dialog box:

    Name
    The name of the new condition set.
    Document type
    Select the document type (framework) that has profiling attributes defined.
    Use DITAVAL file
    For DITA projects, select this option if you want the Profiling Condition Set to reference a DITAVAL file. You can specify the path by using the text field, its history drop-down, the Insert Editor Variables button, or the browsing actions in the Browse drop-down list.
    Include the content matching the following conditions
    You can select this option to define the combination of attribute values for your condition set by selecting the appropriate checkboxes for the values you want to be included in this particular condition set. If you have defined a lot of profiling attributes, you can use the filter text field to search for specific conditions.
  3. After defining or configuring the condition sets according to your needs, click OK to confirm your selections and close the Condition Set configuration dialog box.
  4. Click Apply to save the condition set.