User Tools

Site Tools


org.gramar.base:tag.choose

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

org.gramar.base:tag.choose [2016/06/27 20:35]
org.gramar.base:tag.choose [2016/06/27 20:35] (current)
Line 1: Line 1:
 +
 +==== choose Tag ====
 +
 +The choose tag provides case-style conditional logic. ​ The choose tag will have nested some number of when tags and possibly an otherwise tag.  The first when tag to test true will be resolved to become the processing result of the entire choose tag.  If no when tag tests true and an otherwise tag is present, the otherwise tag is resolved to produce the result of the entire choose tag.
 +
 +
 +^ Attribute ​     ^ Kind   ^ Required ​   ^ Purpose ​         ^
 +|**select** ​ |string ​ |no  |An XPath expression. ​ If specified, nested when tags will be evaluated by comparing their test attribute with the value of this resolved XPath expression. ​ If this attribute is omitted, when tags are tested by evaluating their respective test attributes as boolean values. ​ |
 +
 +=== Full Form ===
 +
 +<​**c:​choose** ​ **select**=""​ >
 +
 +
 +=== Usage and Samples ===
 +
 +
 +
 +
 +Return to [[org.gramar.base:​index|index]]
 +
 +
  
org.gramar.base/tag.choose.txt ยท Last modified: 2016/06/27 20:35 (external edit)