if-src-dn


<if-src-dn> performs a test on the source DN in the current operation.

operator Returns true when...

available

there is a source DN available.

equal

there is a source DN available and it equals the content of the condition when compared using semantics appropriate to the DN format of the source datastore.

Supports variable expansion.

in-container

there is a source DN available and it represents an object in the container specified by the content of the condition when compared using semantics appropriate to the DN format of the source datastore.

in-subtree

there is a source DN available and it represents an object in the subtree specified by the content of the condition when compared using semantics appropriate to the DN format of the source datastore.

not-available

available would return false.

not-equal

equal would return false.

not-in-container

in-container would return false.

not-in-subtree

in-subtree would return false.

Examples

<if-src-dn op="available"/>

<if-src-dn op="equal">Novell\Users\Fred</if-src-dn>

<if-src-dn op="in-container">Novell\Users</if-src-dn>

<if-src-dn op="in-subtree">Novell</if-src-dn>

1. Allowed Content

#PCDATA

2. Attributes

AttributeValue(s)Default Value
disabled true   |  false
true if this element is disabled
false
notrace true   |  false
false
op available   |  equal   |  in-container   |  in-subtree   |  not-available   |  not-equal   |  not-in-container   |  not-in-subtree
test operator
#REQUIRED

3. Content Rule

( #PCDATA )

4. Parent Elements

and
  logical conjunction
or
  logical disjunction

Top Elements || All Elements || Tree


DirXMLScript DTD