Sorry...but I had to post this topic..after talking with a few others on another post. It seems that I've reached a dead point with AJAX that my book can't help me with (but maybe further online research ).

I can't figure out how to load XML files on my desktop through AJAX. XML file is validated, relative path reference to file is correct, and can't see anything wrong with code..I was trying to do something fancy at first but I changed it back to the basic call...

Code:
function beginSearch(the_word,x){

var request=null;
var xml_response=null;

if (window.XMLHttpRequest){
	request=new XMLHttpRequest();
	}else if (window.ActiveXObject){
	 request=new ActiveXObject("Microsoft.XMLHTTP");
}

if (request){
	request.open("GET","rb_artist.xml");
	request.onreadystatechange = 
	function(){
		if (request.readyState==4){
			if( typeof ActiveXObject != 'undefined' ){
				xml_response=new ActiveXObject ("Microsoft.XMLDom");
				xml_response.loadXML(request.responseText);
			}
			else
			{
			   	xml_response=request.responseXML;
			}
		compareUserEntry(xml_response,the_word,x);
		}
		else
		{
	   	    alert("Sorry, there was a problem while getting access"+" to the file");
	            return;
	        }
         }
         request.send(null);
 }else{
  
  alert ("sorry, you must update your browser before seeing" + "Ajax in action");
 }
}
Any suggestions on this topic?