==== 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]]