public static Node selectSingleNode ( Node node , String xpathQuery , Map < String , String > namespaceUris ) { XPath xpath = DocumentHelper . createXPath ( xpathQuery ) ; xpath . setNamespaceURIs ( namespaceUris ) ; return xpath . selectSingleNode ( node ) ; }
Executes the specified namespace aware XPath query as a single node query returning the resulting single node .