About conditional processing

Conditional processing involves filtering or flagging content based on processing-time criteria, such as a target audience, platform, or product.

You can use metadata on elements to filter or flag content, and to show revised content. You can use attributes to provide information about what product, audience, or platform an element applies to, or what product revision it belongs to.

Say you have a need for two versions of your installation instructions, one for Windows and one for Linux. You can create a topic file with both sets of instructions (with each set properly labeled as either Windows or Linux), and then use a ditaval file to specify your processing rules (for example, whether to produce a Windows or Linux version of the document, or whether to produce a single output file with the content flagged appropriately with Windows and Linux icons).

You can exclude content based on its metadata. By default, all content is included. You can flag content based on metadata. By default, no content is flagged. You can show the revision information for your content. All revision information is hidden by default.