public function getClientTransactionId() { $xpath = $this->xPath(); $result = $xpath->query('/epp:epp/epp:response/epp:trID/epp:clTRID'); if (is_object($result) && $result->length > 0) { return $result->item(0)->nodeValue; } else { return null; } }