<elseif>
Elseif judgment statement
After <if> or <elseif>, when the previous judgment fails, enter the current judgment.
test(required) In front of the if or elseif judge was not established, then enter the judgment. Using Ognl to judgment the conditions, The result is true, then run the code within the if block, The result is false, not run Symbol ==:equal !=:not equal &&:and ||:or
trim(optional) Whether to retain the output value of the front and back blank characters Property false:yes(default) true:no(Including the newline)
Similar to <if>, in test, enter the Ognl expression, the expression return true, if block is executed, if the return is false, skip or enter the next statement soon (such as <elseif> or <else>).
The difference is that it cannot be used as the first block, only < if> as the first judgment block.
About <elseif> usage, refer to the usage of <if>
Example
Result