日期:2011-10-08 浏览次数:21077 次
VBScript
dimxmldoc
setxmldoc=createbject(“microsoft.xmldom”)
JavaScript
varxmldoc=newactivexobject(“microsoft.xmldom”);
xmldo.load("order.xml");
VB
dimxmldoc
setxmldoc=createbject(“microsoft.xmldom”)
ASP
<%DIMoXMLDOM
setoXMLDOM=server.CreateObject(“Microsoft.XMLDOM”)
oXMLDOM.load(“students.xml”)
%>
php
<?php
$doc=xmldocfile("xx.xml")ordie("whatemp")
$root=$doc->root();
?>