日期:2014-05-16  浏览次数:20910 次

asp如何读取xml文件里的值?
Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")
xmldoc.async = "false"
xmldoc.Load ("<xml><string1>A</string1><string2>B</string2><string3>C</string3></xml>")
'xmldoc.Load Request
If xmldoc.ReadyState>2 Then
 Response.Write 我想输出string1的值或者所有标签的值
else
 Response.Write "出错了"
end if
set xmldoc=nothing

------解决方案--------------------
节点的text属性