function CreateXml() ... { //创建方法一 var xmldoc=new ActiveXObject("Microsoft.XMLDOM"); xmldoc.async = false;