Share via


Else Element

The instructions within this element are executed if the expressions contained in the IfEqual or IfNew element are not true.

Syntax

<Else>
</Else>
Parent Elements Child Elements
IfEqual, IfNew Column, HTML, Limit, Property, URL

Example

This example evaluates two expressions, and if they're equal, it conveys a holiday greeting, but if not, it conveys a different message.

<IfEqual>
  <Expr1><Today/></Expr1>
  <Expr2>10/31/2000</Expr2>
  <Then>Happy Halloween!</Then>
  <Else>Just another day</Else>
</IfEqual>

See Also

Expr

Expr1

Expr2

Then