js code: Debug.Trace ( xmldom.selectSingleNode ( '//statuses/status/text' ).text );
js code: Debug.Trace ( xmldom.documentElement.selectSingleNode ( '//statuses/status/text' ).text );
js code:getTwitterStatusFromXML ( 'http://www.twitter.com/status/user_timeline/p3acemak3r.xml' ); function getTwitterStatusFromXML ( url ) { var xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); var xmldom = new ActiveXObject('Microsoft.XMLDOM'); xmldom.async = true; xmlhttp.open('GET', url, true); xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState === 4 && xmlhttp.status === 200 ) { xmldom.loadXML ( xmlhttp.responseText ); var oXmlArray = xmldom.selectNodes ( '//statuses/status/text' ); for ( var i=0; i<oXmlArray.length; ++i ) { Debug.Trace ( oXmlArray[i].text ); } } } xmlhttp.send(); }