IfEqual Element
The IfEqual element allows for conditional rendering based on the
comparison of two CAML expressions.
Syntax
<IfEqual>
</IfEqual>
Related Elements
Example
In the following example, the IfEqual element renders the contents
of either the Then or Else child element, based on whether the
contents of the Expr1 and Expr2 elements are equal or not.
<IfEqual>
<Expr1><Today/></Expr1>
<Expr2>10/31/00</Expr2>
<Then>Happy Halloween!</Then>
<Else>Just another day</Else>
</IfEqual>
See Also
IfNew