JavaScript XML和string相互转化,responseText和responseXML
两个小function实现XML和string相互转化/***xml工具*xml对象和String字符串之间的转换**///convertstringtoxmlobject(将字符串转换成xml对象)functionstring2XML(xmlString){//forIE(IE浏览器)if(window.ActiveXObject){varxmlObject=newActiveXObject("