code: public static Map<String, String> toMap(byte[] xmlBytes, String charset) throws Exception {
          SAXReader reader = new SAXReader(false);
          reader.setFeature("http://apache.org/xml/features/disallow-doctype-decl",true);
          InputSource source = new InputSource(new ByteArrayInputStream(xmlBytes));
          source.setEncoding(charset);
          Document doc = reader.read(source);
          Map<String, String> params = XmlUtils.toMap(doc.getRootElement());
          return params;
      }
docs: 转XMLmap
  
  @param xmlBytes
  @param charset
  @return
  @throws Exception
  @author