Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

else if

Syntax

Description

Include instructions that are processed if the expression defined in the preceding if statement evaluates to FALSE and the expression defined in the else if statement evaluates to TRUE. Multiple else if statements can be included, but the processor only executes the instructions contained in the first else if statement whose expression evaluates to TRUE. All subsequent else if statements are ignored.

SLAX Example

XSLT Equivalent

Release Information

Statement introduced in version 1.0 of the SLAX language.