I've almost completed a task where im trying to use PHP to generate an XML file which i can use to display information relating to a country from a dropdown menu.

I've resolved the PHP XML file issue thanks to help from these boards but i am stuck on trying to access the data from the <location/> tags and other tags as well from the XML file. The code is below but currently i keep getting
[object HTML Collection]

http://callsabroad.gb.com

HTML Code:
var xmlHttp = createXmlHttpRequestObject();

function createXmlHttpRequestObject()
{
	var xmlHttp;

	try 
	{
		xmlHttp = new XMLHttpRequest();
	}
	catch(e)
	{
	
		var xmlHttpVersions = new Array("MSXML2.XMLHTTP.6.0",
										"MSXML2.XMLHTTP.5.0",
										"MSXML2.XMLHTTP.4.0",
										"MSXML2.XMLHTTP.3.0",
										"MSXML2.XMLHTTP",
										"Microsoft.XMLHTTP");
		
		
		for (var i=0; i<xmlHttpVersions.length && !xmlHttp; i++)
		{
			try
			{
		
			xmlHttp =  new ActiveXObject(xmlHttpVersions[i]);
			}
			catch(e) {}
		}
	}
		
		
		
		if(!xmlHttp)
			alert("Error Creating the XMLHttpRequest object.");
		else
			return xmlHttp;
}


function process()
	{
	
		
		if(xmlHttp)
		{
		
		try
				{
					
					//get values from option tag
					var id = document.getElementById("country").value;
					
					//create params string
					
					var params = "country="+id;
					
					//initate the asynchronous HTTP request
					xmlHttp.open("GET", "country-find.php?" + params, true);
					xmlHttp.onreadystatechange = handleRequestStateChange;
					xmlHttp.send(null);
				}
			
		
				catch(e)
				{
					alert("Can't connect to the server:\n" + e.toString());
				}
		}	
			
	}	
	
function handleRequestStateChange()
	{
	
	
		if (xmlHttp.readyState == 4)
		{
			
			if (xmlHttp.status == 200)
			{
				try
				{
				  handleServerResponse();
				}
				catch(e)
				{
				
					alert("Error reading the response: " + e.toString());
				}
			}
			else
			{
				
				alert("There was a problem retreiving the data:\n" + xmlHttp.statusText);
			}
		}
	}
	
function handleServerResponse()
	{
	
		
		var xmlResponse = xmlHttp.responseXML;
		
		//catching potential errors with IE and Opera
		
		if(!xmlResponse || !xmlResponse.documentElement)
		throw("Invalid XML Structure:\n" + xmlHttp.responseText);
		
		//catching potential errors with Firefox
		var rootNodeName = xmlResponse.documentElement.nodeName;
		if(rootNodeName == "parsererror")
		throw("Invalid XML Structure:\n" + xmlHttp.responseText);
		
			
		//obtain the XML documents element
		xmlRoot = xmlResponse.documentElement;
		
		//testing that we received the XML document we expect
		
		if(rootNodeName != "response" || !xmlRoot.firstChild)
		throw("Invalid XML Structure:\n" + xmlHttp.responseText);
		
		responseText = xmlRoot.getElementsByTagName('location');
		//display the user message
		
			
			myDiv = document.getElementById("myDivElement");
			myDiv.innerHTML = "Server says the answer is: " + responseText;
	}