#### 9.2.2 Flagging content for special treatment in output

To flag certain attribute values for differential treatment of content:

    [ConditionalFlagging]
    ; attribute name = list of value=flag pairs.
    attrname = value1=flag1 value2=flag2 ...

For each value listed, for HTML output the associated flag is used as the class name for inclusion in the CSS flags file (see §9.3 Including flags for ditaval conditions), with the properties defined in [ConditionalFlags]; see §9.4 Configuring conditional flags.

For example:

    [ConditionalFlagging]
    platform= mac=blueback win=greenback

Content with attribute platform=mac would be rendered with a blue background, while content with attributed platform=win would be rendered with a green background, provided you have defined flags blueback and greenback to produce this effect; see §9.4 Configuring conditional flags.

Note: Flag name conflict is reserved for disallowed combinations of flag properties; see §9.4 Configuring conditional flags.

Previous Topic: 9.2.1 Understanding the syntax of conditional action settings

Next Topic: 9.2.3 Specifying default conditions for inclusion or exclusion

Parent Topic: 9.2 Defining conditional actions

Sibling Topics:

9.2.1 Understanding the syntax of conditional action settings

9.2.3 Specifying default conditions for inclusion or exclusion

9.2.4 Including or excluding content based on attribute values

9.2.5 Passing attribute values through in output

Table of Contents • Index