# read-attr

<read-attr> is used to specify the object attributes to be read by the enclosing <query> command.

Example

See <query>

## 1. Allowed Content

> EMPTY

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> attr-name | CDATA The name of the attribute. The name is mapped between the application and eDirectory name spaces by the schema mapping rule so that DirXML will see the name in the eDirectory name space and a driver will see the name in the application name space. The mapping rule uses the class-name attribute of the enclosing command or event to determine which class to use for mapping the attribute name. | #IMPLIED
> type | default | xml If type="xml", then attribute value will be parsed as XML and returned as such. | default

## 3. Content Declaration

> Empty

## 4. Parent Elements

> query
>   Query command.
> query-ex
>   Query command with result count limit.

Top Elements || All Elements || Tree