public function getResultCode()
{
$xpath = $this->xPath();
$result = $xpath->query('/epp:epp/epp:response/epp:result/@code');
if (is_object($result) && $result->length > 0) {
return trim($result->item(0)->nodeValue);
} else {
return '1000';
}
}