src/XmlUtil.php
public static function selectSingleNode(\DOMNode $pNode, $xPath, $arNamespace = null) // <- Retorna
    {
        $rNodeList = self::selectNodes($pNode, $xPath, $arNamespace);

        return $rNodeList->item(0);
    }
public static function selectSingleNode(\DOMNode $pNode, $xPath, $arNamespace = null) // <- Retorna
    {
        $rNodeList = self::selectNodes($pNode, $xPath, $arNamespace);

        return $rNodeList->item(0);
    }
public static function selectSingleNode ( \ DOMNode $ pNode , $ xPath , $ arNamespace = null ) // <- Retorna { $ rNodeList = self :: selectNodes ( $ pNode , $ xPath , $ arNamespace ) ; return $ rNodeList -> item ( 0 ) ; }
Returns a \DOMElement from a relative xPath from other \DOMNode

@param \DOMNode $pNode
@param string $xPath xPath string format
@param array $arNamespace
@return DOMElement
@throws \ByJG\Util\Exception\XmlUtilException
Returns a \ DOMElement from a relative xPath from other \ DOMNode