private function getFirstElement() { if (isset($this->_fd[0]) && $this->_fd[0] instanceof \DOMElement) { return $this->_fd[0]; } return NULL; }