troubleshooting Question

Need to read XML using ASP

Avatar of eddiewu80
eddiewu80 asked on
ASPXML
5 Comments1 Solution237 ViewsLast Modified:
I cannot for the life of me figure out how to read the resulting XML from the following code. I just need to extract the values from the XML so I can dump them into a database.

Any help would be greatly appreciated.

Thanks.
ipaddress = "67.70.91.145"
set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
xmlhttp.Open "POST","http://ipinfodb.com/ip_query.php?ip=" & ipaddress,false
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.send 
Response.ContentType = "text/xml"
response.write xmlhttp.responsexml.xml
Set xmlhttp = nothing

Open in new window

ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros