code: public static List<String> selectNodeValues(Node node, String xpathQuery, Map<String, String> namespaceUris) {
          List<Node> resultNodes = selectNodes(node, xpathQuery, namespaceUris);
  
          return extractNodeValues(resultNodes);
      }
docs: Executes the specified namespace aware XPath query as a multiple node query,
  returning the text values of the resulting list of
  nodes.