code: public static Document getDocument(String xmlPath) {
          try {
              InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(xmlPath);
              return new SAXReader().read(is);
          } catch (Exception e) {
              throw new XmlParseException("读取或解析xml文件失败，xmlPath是:" + xmlPath, e);
          }
      }
docs: 读取xml文件为dom4j的Docment文档.
  @param xmlPath 定位xml文件的路径，如：com/blinkfox/test.xml
  @return 返回dom4j文档