code: public static Node selectNode(Node dom, String xpath) {
          return selector.selectNode(dom, xpath);
      }
docs: <p>Select the Node with the given XPath.
  </p><p>
  Note: This is a convenience method that logs exceptions instead of
  throwing them.
  </p>
  @param dom   the root document.
  @param xpath the xpath for the node.
  @return the Node or null if unattainable.