heres the xml file i am getting using http request object
<?xml version="1.0" encoding="ISO-8859-1" ?>
<RESULTS>
<RC>34</RC>
<O>1</O>
<S>5</S>
<SITE I="1">
<SITE I="2">
<SITE I="3">
<SITE I="4">
<SITE I="5">
</RESULTS>
heres my code
Set xml = Server.CreateObject ("Microsoft.XMLHTTP"
xml.Open "GET", " , false'
xml.send
resultLength = CInt(xml.responseXML.selectNodes("RESULTS/RC/0/S/SITE"
.length)
response.write resultLength
whats wrong with this code?
should it be
resultLength = CInt(xml.responseXML.selectNodes("RESULTS/SITE"
.length)
thanks
<?xml version="1.0" encoding="ISO-8859-1" ?>
<RESULTS>
<RC>34</RC>
<O>1</O>
<S>5</S>
<SITE I="1">
<SITE I="2">
<SITE I="3">
<SITE I="4">
<SITE I="5">
</RESULTS>
heres my code
Set xml = Server.CreateObject ("Microsoft.XMLHTTP"
xml.Open "GET", " , false'
xml.send
resultLength = CInt(xml.responseXML.selectNodes("RESULTS/RC/0/S/SITE"
response.write resultLength
whats wrong with this code?
should it be
resultLength = CInt(xml.responseXML.selectNodes("RESULTS/SITE"
thanks