88
JSTL XML <x:if> Tag
The <x:if> tag is used for evaluating the test XPath expression. It is a simple conditional tag which is used for evaluating its body if the supplied condition is true.
The syntax used for including the <x:if> tag is:
Let’s see the simple example to understand the xml <x:if> tag:
Output:
Vegetable Information:
Vegetables prices are very low.
Next TopicJSTL XML <x:transform> Tag