code: public static String getLocationByIp(String ip) throws IOException, XPathExpressionException,
              ParserConfigurationException {
          return evaluate(ValueConsts.IP_REGION_XPATH, getHtmlFromUrl("http://ip.chinaz.com/" + ip));
      }
docs: 获取ip归属地
  
  @param ip ip地址
  
  @return 归属地
  
  @throws IOException 异常
  @throws XPathExpressionException 异常
  @throws ParserConfigurationException 异常