XML technologies / DITA / Conditional processing

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

DITA conditional processing can exclude content by filtering or flag it typographically or with graphics. First, the topics and maps must receive the appropriate attributes.

During conditional processing, the elements of DITA XML files are processed by the DITA Open Toolkit and undergo filtering or flagging. A conditional processing profile defines what happens to element content. It is stored in a file called ditaval, named after its extension ditaval.

“Creating topics for filtering and flagging content” explains the attributes for marking content to process conditionally. Besides these, attribute props can be specialized to add filtering or flagging attributes. Specialization of attribute props is explained in Specialization.

A ditaval file controls processing. The structure of a ditaval file is presented in “The ditaval file”, showing how a ditaval file filters and flags content.

“Processing ditaval files” explains modifying entries in an ANT build file so the ditval file is processed by DITA Open Toolkit. More on ANT build files is in ANT.

  

  

 

 

 

back to top