public function getContactHandle() { $xpath = $this->xPath(); $result = $xpath->query('/epp:epp/epp:response/epp:resData/contact:creData/contact:id'); $contacthandle = new eppContactHandle($result->item(0)->nodeValue); return $contacthandle; }