SimpleXMLElement::addAttribute

Adds an attribute to the SimpleXML element