@SuppressWarnings("unchecked")
    public static List<Node> selectNodes(Node node, String xpathQuery, Map<String, String> namespaceUris) {
        XPath xpath = DocumentHelper.createXPath(xpathQuery);
        xpath.setNamespaceURIs(namespaceUris);

        return xpath.selectNodes(node);
    }
@ SuppressWarnings ( "unchecked" ) public static List < Node > selectNodes ( Node node , String xpathQuery , Map < String , String > namespaceUris ) { XPath xpath = DocumentHelper . createXPath ( xpathQuery ) ; xpath . setNamespaceURIs ( namespaceUris ) ; return xpath . selectNodes ( node ) ; }
Executes the specified namespace aware XPath query as a multiple node query, returning the resulting list of nodes.