3. Content Rule
( #PCDATA | component ) *
<if-src-attr> performs a test on attribute values of the current object in the source datastore. 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 datastore for the specified attribute
equal
there is a value available in the source datastore for the specified attribute that equals the content of the condition when compared using the specified comparison mode. If mode="structured" then the content must be a set of <component>'s, otherwise it must be text.
Supports variable expansion.
lt
there is a value available in the source datastore 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>'s, otherwise it must be text.
Supports variable expansion.
gt
there is a value available in the source datastore 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>'s, otherwise it must be text.
Supports variable expansion.
not-available
available would return false.
not-equal
equal would return false.
not-lt
lt would return false.
not-gt
gt would return false.
<if-src-attr name="OU" op="available"/> <if-src-attr mode="nocase" name="OU" op="equal">Sales</if-src-attr> <if-src-attr mode="structured" name="Language" op="equal"> <component name="string">EN</component> <component name="string">JP</component> </if-src-attr>
- #PCDATA
- component
- value component
Attribute Value(s) Default Value disabled true | false
true if this element is disabledfalse mode case | nocase | regex | src-dn | dest-dn | numeric | octet | structured
comparison mode if op implies a comparisonnocase name CDATA
name of the attribute
supports variable expansion#REQUIRED notrace true | false
false op available | equal | lt | gt | not-available | not-equal | not-lt | not-gt
test operator#REQUIRED
( #PCDATA | component ) *
- and
- logical conjunction
- or
- logical disjunction
Top Elements || All Elements || Tree