if-dest-attr


<if-dest-attr> performs a test on attribute values of the current object in the destination 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 destination datastore for the specified attribute.

equal

there is a value available for the specified attribute in the destination datastore 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 for the specified attribute in the destination datastore 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 for the specified attribute in the destination datastore 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.

Examples

<if-dest-attr name="OU" op="available"/>

<if-dest-attr mode="nocase" name="OU" op="equal">Sales</if-dest-attr>

<if-dest-attr mode="structured" name="Language" op="equal">
  <component name="string">EN</component>
  <component name="string">JP</component>
</if-dest-attr>

1. Allowed Content

#PCDATA
component
value component

2. Attributes

AttributeValue(s)Default Value
disabled true   |  false
true if this element is disabled
false
mode case   |  nocase   |  regex   |  src-dn   |  dest-dn   |  numeric   |  octet   |  structured
comparison mode if op implies a comparison
nocase
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

3. Content Rule

( #PCDATA | component ) *

4. Parent Elements

and
  logical conjunction
or
  logical disjunction

Top Elements || All Elements || Tree


DirXMLScript DTD