#### 9.2.3 Specifying default conditions for inclusion or exclusion

By default, all content is included in DITA2Go output, unless the action conditional processing attribute in a ditaval file for the content specifies exclude, or a corresponding setting in your configuration file specifies the attribute value(s) required to trigger exclusion.

To specify the default action for all attributes:

    [ConditionOptions]
    ; ConditionalDefaults = include (default) or exclude, for all
    ; attributes unless overridden in the [ConditionalDefaults] section.
    ConditionalDefaults = include

To specify a different default action for individual attributes (for example):

    [ConditionalDefaults]
    ; attribute name = actions to use for any props not set explicitly,
    ; can be include (default) or exclude.
    audience = exclude

In this example, all values for audience would be excluded by default.

Previous Topic: 9.2.2 Flagging content for special treatment in output

Next Topic: 9.2.4 Including or excluding content based on attribute values

Parent Topic: 9.2 Defining conditional actions

Sibling Topics:

9.2.1 Understanding the syntax of conditional action settings

9.2.2 Flagging content for special treatment in output

9.2.4 Including or excluding content based on attribute values

9.2.5 Passing attribute values through in output

Table of Contents • Index