<val> is the root element of a DITAVAL file.
For information about processing DITAVAL files, including how to filter or flag elements with multiple property attributes or multiple properties within a single attribute, see 2.1.3.6 Conditional processing (profiling).
style-conflict (optional) then (prop or revprop) (any number)
Figure 3-46 Sample DITAVAL file
<val>
<style-conflict backcolor="red"/>
<prop action="include" att="audience" val="everybody"/>
<prop action="flag" att="product" val="YourProd" backcolor="purple"/>
<prop action="flag" att="product" backcolor="blue"
color="yellow" style="underline" val="MyProd">
<startflag imageref="startflag.jpg">
<alt-text>This is the start of my product info</alt-text>
</startflag>
<endflag imageref="endflag.jpg">
<alt-text>This is the end of my product info</alt-text>
</endflag>
</prop>
<revprop action="flag" val="1.2"/>
</val>
This sample DITAVAL file performs the following actions:
Figure 3-47 DITAVAL file that overrides the default "include" action
<val> <prop action="exclude"/> <prop action="include" att="audience" val="everybody"/> <prop action="include" att="audience" val="novice"/> <prop action="include" att="product" val="productA"/> <prop action="include" att="product" val="productB"/> </val>
This simple DITAVAL file ditaval performs the following actions: