public function xpathNSOne($path, $namespaces)
    {
        $result = $this->xpathNS($path, $namespaces);
        if(is_array($result))
            return current($result);

        return $result;

    }