Hey All'
i have the following ebay api response thats saved as an xml file
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<GeteBayOfficialTimeResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2005-08-12T02:33:09.184Z</Timestamp>
<Ack>Success</Ack>
<CorrelationID>00000000-00000000-00000000-00000000-00000000-00000000-0000000000</CorrelationID>
<Version>421</Version>
<Build>e421_core_Bundled_1630320_R1</Build>
</GeteBayOfficialTimeResponse>
And im using the following asp code to load the doc and display the info from the Timestamp.
Code:
<%
xmlNamespace = "urn:ebay:apis:eBLBaseComponents:"
Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async = false
xmlDoc.load("1.xml")
xmlDoc.setProperty"SelectionNamespaces","xmlns:b='urn:ebay:apis:eBLBaseComponents'"
set y = xmlDoc.selectNodes("//b:Timestamp/text()")
For each x in y
Response.Write(y)
Next
%>
I receive no error but i believe my issue is in the bolded above can anyone tell me the proper way to do this?