public function getAttr($name)
    {
        return isset($this->attrs[$name]) ? $this->attrs[$name] : null;
    }
public function getAttr($name)
    {
        return isset($this->attrs[$name]) ? $this->attrs[$name] : null;
    }
public function getAttr ( $ name ) { return isset ( $ this -> attrs [ $ name ] ) ? $ this -> attrs [ $ name ] : null ; }
Returns the XML element value

@param string $name
@return mixed
Returns the XML element value