code: function loadXML(xml) {
              if (DOMParser) {
                  try {
                      var domParser = new DOMParser();
                      var xmlDoc = domParser.parseFromString(xml, 'text/xml');
                      return xmlDoc;
                  }
                  catch (exp) {
                      error.raise(10103);
                  }
              }
              error.raise(10004);
          }
docs: 加载xml字符串
  
  @param {string} xml xml字符串
  @return {XMLDocument}