public function getNodeByName($strXpath, $strName)
    {
        $varResult = $this->xpath($strXpath . "[@name='" . $strName . "']");

        if ($varResult !== false) {
            // Get first element
            return reset($varResult);
        } else {
            return false;
        }
    }