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.
Copyright © 2008 XLcontent Verlag
You may print the online version for your private use.
Otherwise, this chapter from “DITA - Der neue Standard für Technische Dokumentation” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
XLcontent Verlag, Pflegerstraße 40, 81247 München
back to top