Description
This command combines the effect of an @x:else command with a @x:if command.
Command Syntax
'@x:orif' <exp>
No options or body are permitted.
A @x:orif command must directly follow a @x:if or @x:orif command.
Execution Semantics
If the body of the previous command was executed, then the result of executing the @x:orif command is null. Otherwise, the attribute expression is evaluated and must yield a boolean result. If the result is true, then the result of executing the @x:orif command is the result of the executing its body. If the result is false, then the body is not executed and the result of the @x:orif command is null.
Examples
@x:if i < j {
"less"
} @x:orif i > j {
"greater"
} @x:else {
"equal"
}