dmIf

A branch sends the user down separate data paths based on state information such as configuration information, or how the user has answered questions. Branches can be nested.The element <dmIf> uses the same logic as the "if-then-else" statement in a programming language. An element <dmIf> contains an expression that the logic engine evaluates to determine whether the element <dmThenSeq> or the element <dmElseSeq> is to be traversed.The element <dmThenSeq> defines the data module node, alternative sequence, branch, or loops to be traversed if the element <dmIf> expression evaluates to TRUE. Element <dmThenSeq> is required.The element <dmElseSeq> defines a data module node, alternative sequence, branch, or loops to be traversed if the element <dmIf> expression evaluates to FALSE. The element <dmElseSeq> is optional.