Re: [Rails-spinoffs] xml handling

2006-03-03 Thread Francisco Calderon
i did it, the problem was i am using var xml = originalRequest.responseText; i need to use this var xml = originalRequest.responseXML; thx a lotOn 3/3/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Make sure the response you are receiving is XML and not Text in case you want to traverse throu

Re: [Rails-spinoffs] xml handling

2006-03-03 Thread Francisco Calderon
On 3/3/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Make sure the response you are receiving is XML and not Text in case you want to traverse through XML.Check it by checking the responseHeaders(). how? i put this function showResponse(originalRequest){     alert(originalRequest.responseHeader

RE: [Rails-spinoffs] xml handling

2006-03-03 Thread Maninder, Singh
Make sure the response you are receiving is XML and not Text in case you want to traverse through XML. Check it by checking the responseHeaders(). Hope this helps! Thank you, Mandy. <>___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails

[Rails-spinoffs] xml handling

2006-03-03 Thread Francisco Calderon
Hello there, im having a problem with the xml handling, i want to get and xml node and put things in an input text but im a little lost, im using this code, but isn't work, what am i doing wrong? -
function getXML(){
    var url = '';
    var myAjax = new Ajax.Re