To rename an object (change the value of one or more of its identifiers) and simultaneously deactivate or activate it, the application combines the rename attribute and identifier attribute for the new name with the inactive or active attribute.
If the object has one identifier (here called <name>), the syntax is as follows (the opening tag appears on two lines for legibility only):
<configuration>
<!- - opening tag for each parent of the object - ->
<object rename="rename" name="new-name" \
(inactive="inactive” | active="active")>
<name>current-name</name>
</object>
<!- - closing tag for each parent of the object - ->
</configuration>
If the object has multiple identifiers and only one is changing, the syntax is as follows (the opening tag appears on multiple lines for legibility only):
<configuration>
<!- - opening tag for each parent of the object - ->
<object rename="rename"changing-identifier="new-name" \
unchanging-identifier="current-name" \
(inactive="inactive” | active="active")>
<changing-identifier>current-name</changing-identifier>
<unchanging-identifier>current-name</unchanging-identifier>
</object>
<!- - closing tag for each parent of the object - ->
</configuration>
The renaming operation is not available when formatted ASCII text is used to represent the configuration data. For complete information about renaming elements, see Renaming a Configuration Object.