Removed Integer.valueOf since jxpath is java4