#### 9.2.5 Passing attribute values through in output

To mark certain attribute values to be passed through so they are available for further processing outside of DITA2Go:

    [ConditionalPassthrough]
    ; attribute name = list of values to pass through.
    attrname = value1 value2 ...

Although not rendered as output, attributes with these values are included in the output stream, as possible for the output type. This setting has no effect in RTF output.

For example:

    [ConditionalPassthrough]
    product = Mif2Go DITA2Go

Any element with a product attribute of Mif2Go or DITA2Go would be included in output, and the attribute name and value would be attached to the content (but not visible) in whatever form is appropriate for the output type.

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

Next Topic: 9.3 Including flags for ditaval conditions

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.3 Specifying default conditions for inclusion or exclusion

9.2.4 Including or excluding content based on attribute values