<%
set xmldoc=server.createObject("MSXML2.DOMDocument")
xmldoc.async=false
xmldoc.load server.mappath("csdn0001.xml")
set nodes=xmldoc.selectNodes("//record")
for each node in nodes
set attrs=node.attributes
for each attr in attrs
response.write "name:" & attr.nodeName & ";value:" & attr.text & "<br/>"
next
response.write "<hr>"
next
set attr=nothing
set attrs=nothing
set node=nothing
set nodes=nothing
set xmldoc=nothing
%>