Table of Contents

The <compoundCondition> Element

Definition and Usage

The <compoundCondition> element defines a logical expression among its child elements by means of its Boolean operator attribute.

A delay attribute may also be defined specifying that the compound condition is true after a time delay from the expression relating its child elements is true.

When an “and” compound condition relates more than one trigger condition (that is, a condition that is satisfied in an infinitesimal time instant––as for example, the end of an object presentation), the compound condition shall be considered true in the instant immediately after all the trigger conditions are satisfied.

Syntax

Attributes

Name Value Description
operator “and” or “or”. The operator attribute defines a logical expression among the <compoundCondition> child elements.
delay

The delay attribute is be specified according with one of the following syntax:

  1. “Hours:Minutes:Seconds.Fraction”, where “Hours” is an integer in the [0,23] interval, “Minutes” is an integer in the [0,59] interval, “Seconds” is an integer in the 0,59 interval, and “Fraction” is a positive integer,
  2. Seconds“s”, where “Seconds” is a positive real number.

The default value is “0s”.

The delay attribute defines that the <compoundCondition> is true after a time delay from the expression relating its child elements is true.