[UP] The UI language |
The element ui:true This element expands simply its inner nodes without transforming them. Furthermore, this element sets the condition code to true. The condition code can be evaluated by ui:cond. Declaration Level: Control structure <!ELEMENT ui:true ANY> Sub elements This element may contain all page body elements. Example <ui:cond> <ui:if value1="$x" value2="$[v]"> ...do this... </ui:if> <ui:if value1="$x" value2="$[w]"> ...do that... </ui:if> <ui:true> ...else do this... </ui:true> </ui:cond>Because ui:true sets the condition code always to true, it can be used as default branch in ui:cond. Its contents will be expanded if all the previous conditions happen to be false. |