var obj = new Array();
for(i=0;i<man.length;i++){
var obj[i] = new Object();
obj[i].idno =man[i].getElementsByTagName("id_no")[0].childNodes[0].nodeValue;
obj[i].name =man[i].getElementsByTagName("name")[0].childNodes[0].nodeValue;
obj[i].tel =man[i].getElementsByTagName("tel")[0].childNodes[0].nodeValue;
obj[i].mail =man[i].getElementsByTagName("mail")[0].childNodes[0].nodeValue;
}
//將字串轉成xmlDoc節點變數 |
//將xml物件轉成string文字 |