Performs a test on attribute values of the current object in the source data store. The type of test performed depends on the operator specified by the op attribute. The following table shows the type of test performed by each operator.
Operator |
Returns true when... |
---|---|
available |
There is a value available in the source data store for the specified attribute. |
equal |
There is a value available in the source data store for the specified attribute that equals the content of <if-src-attr> when compared using the specified comparison mode. If mode=“structured”, then the content must be a set of <component> elements; otherwise, it must be text. Supports variable expansion. |
lt |
There is a value available in the source data store for the specified attribute that is less than the content of the condition when compared using the specified comparison mode. If mode=“structured” then the content must be a set of <component> elements, otherwise it must be text. Supports variable expansion. |
gt |
There is a value available in the source data store for the specified attribute that is greater than the content of the condition when compared using the specified comparison mode. If mode=“structured” then the content must be a set of <component> elements, otherwise it must be text. Supports variable expansion. |
not-available |
Available returns false. |
not-equal |
Equal returns false. |
not-lt |
Less than returns false. |
not-gt |
Greater than returns false. |
<if-src-attr op="available" name="OU"/><if-src-attr op="equal" mode="nocase" name="OU">Sales</if-src-attr><if-src-attr op="equal" mode="structured" name="Language"> <component name="string">EN</component> <component name="string">JP</component></if-src-attr>
( #PCDATA | component ) *