protected function getPerson(AtomBuilderPerson $person, $tagname = '', $parentnode)
 {
     $newnode = $this->xml->createElement($tagname);
     $parentnode->appendChild($newnode);
     $personname = $this->xml->createElement('name');
     $personname->appendChild($this->xml->createTextNode($person->getName()));
     $newnode->appendChild($personname);
     if ($person->getEmail() != FALSE) {
         $personmail = $this->xml->createElement('email');
         $personmail->appendChild($this->xml->createTextNode($person->getEmail()));
         $newnode->appendChild($personmail);
     }
     // end if
     if ($person->getURL() != FALSE) {
         $personurl = $this->xml->createElement('uri');
         $personurl->appendChild($this->xml->createTextNode($person->getURL()));
         $newnode->appendChild($personurl);
     }
     // end if
 }