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