setSpecialAttribute Element

This topic describes the <setSpecialAttribute> XML element.

General syntax
<set name="regexp" value="regexp" />
Description Sets a special attribute to a value if exists, if not adds the special attribute and sets the value then.
Attributes Name Use Annotation
name required Defines the new name of the target. The value can be either a string or any Regular Expression.
value required Defines the new value of the target. The value can be either a string or any Regular Expression.
Examples
<!-- sets a new attribute named SYMBOL with value 1234 if it does not exist else the value of the 
     attribute is changed to the specified one --> 
<setSpecialAttrbute name=" part.interface.name" value="Interface Name" />