Sun N1 Service Provisioning System 5.1 XML Schema Reference Guide

<equals> Boolean Operator

This Boolean operator is used to determine whether a particular value is equal to another value. This operator has the value1, value2, and exact attributes. This operator has no child elements, and evaluates to true only if value1 and value2 are equal. If exact is true, the values must be exactly the same, including case. If exact is false, the comparison is case-insensitive.

<istrue value="..."/> is a syntactic shorthand for the following statement:


<equals value1="..." value2="true"/>

Attributes for the <equals> Boolean Operator

The <equals> operator has the following attributes:


Example 2–8 Using the <equals> Boolean Operator

The following examples show how <equals> is used and the results: