# do-reformat-op-attr

The <do-reformat-op-attr> action causes all values for the named attribute within the current operation to be replaced with the <arg-value>. The value of <arg-value> is evaluated once for each value being replaced with the local variable current-value set to the original value.

### Examples

>     <do-reformat-op-attr name="CN">
>       <arg-value>
>         <token-upper-case>
>           <token-local-variable name="current-value"/>
>         </token-upper-case>
>       </arg-value>
>     </do-reformat-op-attr>

>     <do-reformat-op-attr name="EMail Address">
>       <arg-value>
>         <token-xpath expression="$current-value/component[@name='eMailAddr']"/>
>       </arg-value>
>     </do-reformat-op-attr>

## 1. Allowed Content

> arg-value
>   value argument

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> disabled | true | false true if this element is disabled | false
> name | CDATA name of the attribute supports variable expansion | #REQUIRED
> notrace | true | false true if this element should not be traced during execution of policy | false

## 3. Content Rule

> ( arg-value )

## 4. Parent Elements

> actions
>   actions that are performed by a <rule>
> arg-actions
>   actions argument

Top Elements || All Elements || Tree