# match-attr

Deprecated as of DirXML 2.0 - use DirXMLScript <if-op-attr> for object creation and placement policy or <do-find-matching-object> and <arg-match-attr> for object matching policy.

<match-attr> is used to specify:

- Rule selection criteria for the enclosing <create-rule> or <placement-rule>. When used as such it must contain at least one <value>.
- Object selection criteria for the enclosing <matching-rule>. When used as such it must not contain a <value>.

Example

See <create-rules>

## 1. Allowed Content

> value
>   The attribute value.

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> attr-name | CDATA The name of the required attribute in the eDirectory namespace. | #REQUIRED

## 3. Content Rule

> ( value ) *

## 4. Parent Elements

> create-rule
>   Object creation rule. Deprecated as of DirXML 2.0.
> matching-rule
>   Object matching rule. Deprecated as of DirXML 2.0.
> placement-rule
>   Object placement rule. Deprecated as of DirXML 2.0.

Top Elements || All Elements || Tree