Been trying to get this code working without any luck!
I am trying to output the <name>, <g:price> for the returning xml
file.

Any suggestions?


<%
       Dim XMLHTTP, PostXML, ResponseXML, xmlDoc, objLst, objNode,i, x

       Set XMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")

       XMLHTTP.Open "GET","http://www.google.com/base/feeds/snippets?
bq=W208",false

       XMLHTTP.SetRequestHeader "Content-type", "text/xml"
       XMLHTTP.Send ""

       ResponseXML = XMLHTTP.ResponseText
       Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
       xmlDoc.async = true
       xmlDoc.LoadXml(ResponseXML)

       Set objLst = xmlDoc.getElementsByTagName("entry")
       for i = 0 to objLst.Length - 1
            response.Write "name = " & objLst.item(i).getAttribute
("name") & "<br/>"
            response.Write "price = " & objLst.item(i).getAttribute
("price") & "<br/>"
       next

       response.Write "complete " & time()
%>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to