next up previous contents index
Next: Conditions Up: Fib elements Previous: Subfunction   Contents   Index


if-element

For the description of the if-element see section 9.8 on page [*] .

The name of the XML if-element is if.

The element contains a condition element condition (this is described in subsection 22.3.8).

After the condition element follow two XML elements for the contained subobjects. The first XML element is evaluated when the condition is true, and the second otherwise (if the condition is false).


An example for an if-element:

<if>
   <condition>
      <and>
         <true/>
         <lo>
            <variable>1</variable>
            <value>3.14</value>
         </lo>
      </and>
   </condition>
   ...<!-- Fib subobject,
     if the condition is true -->
   ...<!-- Fib subobject,
      if the condition is false -->
</if>



Subsections

Betti Österholz 2013-02-13