Commit 49588ebb by 刘泽奇

132

parent a1d30c7b
......@@ -112,12 +112,13 @@ module.exports=
}
else if(window.DOMParser && document.implementation && document.implementation.createDocument){
try{
console.log('111111111111111111111111111');
domParser = new DOMParser();
console.log(domParser,"domParser");
xmlDoc = domParser.parseFromString(xmlString, 'text/xml');
console.log(xmlDoc,"xmlDoc");
}catch(e){
console.log(e);
}
}
else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment