打工行伴奏,海南天涯海角,青年视觉电子杂志
xmldocument downloadfilexml = new xmldocument();
xmlelement root = null;
xmlelement kisokchild = null;
//生成xml的头
xmlnode xmlnode= downloadfilexml.createxmldeclaration("1.0", "utf-8", null);
downloadfilexml.appendchild(xmlnode);
root = downloadfilexml.createelement("test");
root.setattribute("guid",“1”);
root.setattribute("buildid","0");
downloadfilexml.appendchild(root);
kisokchild = downloadfilexml.createelement("testchild");
kisokchild.setattribute("interval","111");
root.appendchild(kisokchild);
response.write(downloadfilexml.outerxml);
response.end();
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!!
点击进行留言回复
网友评论