method

add

add( attribute )
public

Adds an attribute, overriding any existing attribute by the same name. Namespaces are significant.

attribute

An Attribute