A conditional processing profile (DITAVAL file) is used to identify which values are to be used for conditional processing during a particular output, build, or some other purpose. The profile should have an extension of .ditaval.
The DITAVAL format has several elements: <val>
, the root element, can
contain a <style-conflict>
element followed by
<prop>
or <revprop>
elements; the
<prop>
and <revprop>
elements can
contain <startflag>
and <endflag>
elements; and the <startflag>
and
<endflag>
elements can contain
<alt-text>
elements.
Conditional processing code should provide a report of any attribute values encountered in content that do not have an action associated with them.
If an image in DITA content becomes flagged using a background color, the color should be represented as a thick border. If a foreground color is expressed, it should be represented as a thin border.