setSpecialAttribute Element

This topic describes the <setSpecialAttribute> XML element.

General syntax
<set name="regexp" value="regexp" />
DescriptionSets a special attribute to a value if exists, if not adds the special attribute and sets the value then.
AttributesNameUseAnnotation
namerequiredDefines the new name of the target. The value can be either a string or any Regular Expression.
valuerequiredDefines 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" />