Element if

LANSA Integrator

Element - if

The if element is used to add conditional logic.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

if

compare

string

 

value

string

 

operation

equal

Default.

not_equal

 

goto

content

Go to named content section.

 

Example

 

<if compare="{@page}" value="11" operation="equal" goto="additional"/>

 

<if compare="{@page}" value="12" operation="equal">

   <page/>

   <text x1="70" y1="300" width="100" height="20" value="some text"/>

</if>