3.1.8.3 val

<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).

Contains

style-conflict (optional) then (prop or revprop) (any number)

Example

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:

<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:

Previous Topic:  3.1.8 DITAVAL elements

Next Topic:  3.1.8.4 style-conflict

Parent Topic:  3.1.8 DITAVAL elements

Sibling Topics:

3.1.8.4 style-conflict

3.1.8.5 prop

3.1.8.6 revprop

3.1.8.7 startflag

3.1.8.8 endflag

3.1.8.9 alt-text