code: @Nullable
      public static Integer findContentInteger(final Node rootNode, final XPath xPath,
              final String expression) {
          final Node node = findNode(rootNode, xPath, expression);
          if (node == null) {
              return null;
          }
          final String str = node.getTextContent();
          return Integer.valueOf(str);
      }
docs: Returns an integer value from a node's content.
  
  @param rootNode
  Node to search.
  @param xPath
  XPath to use.
  @param expression
  XPath expression.
  
  @return Node or <code>null</code> if no match was found.