XML technologies / DITA / Conditional processing / Creating topics for filtering and flagging content

(Excerpt from “DITA – Der neue Standard für Technische Dokumentation” by Johannes Hentrich)

Conditional processing of topics and maps can filter or flag content.

You can use the following attributes both for filtering and for flagging content:

For filtering content, you can use these attributes on practically all DITA elements. For flagging content, however, they can be used only on DITA block elements.

Each filtering and flagging attribute can contain one or more values. Multiple values are separated by spaces.

<steps audience="user expert">...</steps>

Filtering excludes content from topics or maps so that it does not appear in the output. If an attribute contains several values, all its values must be excluded during conditional processing for the element’s content not to be output.

By default, all content is output; filtering is the only way to exclude content from the output. When creating topics and maps, all content must therefore initially be included. These are also called master topics and master maps. Conditional processing then filters content out of the master topics and master maps according to the attribute values.

All flagged content appears in the output. It can receive special formatting or a graphic.

The FO plugin currently does not support processing flagged content in DITA XML files.

  

 

 

 

back to top