User Tools

Site Tools


org.gramar.base:tag.if

Differences

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

Link to this comparison view

org.gramar.base:tag.if [2016/06/27 20:35] (current)
Line 1: Line 1:
 +
 +==== if Tag ====
 +
 +The if tag Evaluates an XPath expression and processes the tag content if the value is true.
 +
 +
 +^ Attribute ​     ^ Kind   ^ Required ​   ^ Purpose ​         ^
 +|**test** ​ |string ​ |yes  |An XPath expression to be resolved as a boolean value. ​ The contents of the if tag are processed only if the value is true.  |
 +|**var** ​ |string ​ |no  |A variable name to be associated with the result of the XPath expression. ​ Useful for "If a node exists then process it" behavior. ​ |
 +
 +=== Full Form ===
 +
 +<​**c:​if** ​ **test**="" ​ **var**=""​ >
 +
 +
 +=== Usage and Samples ===
 +
 +
 +
 +
 +Return to [[org.gramar.base:​index|index]]
 +
 +
  
org.gramar.base/tag.if.txt ยท Last modified: 2016/06/27 20:35 (external edit)