public function endAttribute($name) { $this->checkEndAttribute($name); $this->xmlWriter->endAttribute(); }