Condition (or select) attributes

The audience, platform, product, otherprops and rev attributes can be applied to most DITA elements. They are used for conditional processing, and are known as the condition (or select) attributes.

The metadata attributes used for conditional publishing through filtering and flagging are audience, platform, product, and otherprops. The rev attribute can be used for flagging only, but not for filtering (excluding). These attributes are sometimes collectively referred to as condition attributes, or select attributes.

The attribute values are free-form text, although in DITA 1.2, the subjectScheme feature can be used to define a list of controlled values for different attributes.

Attributes can contain multiple values; these are delimited with a space. Values are case-sensitive.

The audience attribute is designed to identify the intended audience of the content. Examples of possible values include administrator, novice, power, Canada, driver, and engineer.

The platform attribute is designed to identify the operating system or other technology platform that the content is specific to. Examples of possible values include macos, linux, firefox, mobile, 4WD, android and ipad.

The product attribute is designed to identify the product that the content is specific to. Examples of possible values include ej25, lite, pro, SR71, acme, STi, and openoffice.

The otherprops attribute is designed to identify any other metadata category to be used as a basis for filtering or flagging. Examples of otherprops use include to identify markets (eg, healthcare), publications (eg, NewsToday), organisational departments (eg, accountspayable), and outlet (eg, melbourne_retail).