2
是否允許嵌套'if'語句? 例如:是否在vxml中嵌套'if'語句?
<if cond="1 == 1">
<if cond="2 == 2">
One is in fact equal to one and Two is in fact equal to two
<else/>
One is in fact equal to one but Two is never not equal to two
</if>
<else/>
One is never not equal to one
</if>
我知道我可以重寫這個條件與「&&
」語句,但我試圖做的是凌亂保持如果elseifs,它必須是連鎖重複的邏輯。
該規範犯規多講了。你指的是模式定義。 – Anupam 2017-02-15 10:59:40