When creating an Ajax.Request('/path.xml')  i don't get responseXML.
I'm confused what I am doing wrong. If i change the response variable
and dump responseText, it shows the file, it just doesn't recognize it
as xml.

function xml(url){
new Ajax.Request(url, {
        method: 'post', parameters:'resultSet=simcall',
var parseResponse= function(xhrResponse){
var response=xhrResponse.responseXML;
var paramList= response.getElementByTagName('lastname');

<?xml version="1.0" encoding="iso-8859-1"?>

        <employee id="123456">
                <phone>(415) 333-0235 </phone>


You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to