01.
<script type=
"text/javascript"
>
02.
04.
if
(window.XMLHttpRequest){
05.
06.
xmlhttp =
new
XMLHttpRequest();
07.
}
else
{
08.
09.
xmlhttp =
new
ActiveXObject(
"Microsoft.XMLHTTP"
);
10.
}
11.
xmlhttp.open(
"GET"
, url_destination,
false
);
12.
xmlhttp.send();
13.
response = xmlhttp.responseXML;
14.
15.
var
xml = response.getElementsByTagName(
"item"
);
16.
alert(
"fds"
);
17.
for
(i = 0; i < xml.length; i++){
18.
alert(xml.length);
19.
}