Ok come non detto, ho aggiunto questa riga nel primo file qui:

codice:
if (requestObj.readyState == 4) 
{  
if (requestObj.status == 200) 
{   
    var a=(requestObj.responseText);    
    document.getElementById('info').innerHTML = a;          
} 
else 
{       
    alert(requestObj.statusText);          
}

e funziona tutto correttamente...
Una domanda, con quello che ho scritto ho fatto quello che intendevo realmente ottenere?
Cioè codificare i dati in xml e passarli con una chiamata ajax?

Grazie milla
Ciao
Andrea