<!--通过ASP把XML保存为文件-->
<%
text = "<note>"
text = text & "<to>George</to>"
text = text & "<from>John</from>"
text = text & "<heading>Reminde</heading>"
text = text & "<body>Don‘t forget the meeting!</body>"
text = text & "</note>"
set xmlDoc = Server.CreateObject("Micsoft.XMLDOM")
xmlDoc.async = "false"
xmlDoc.loadXML(text)
xmlDoc.Save("test.xml")
%>