Hi, I am using Prototype 1.6 and I want to use the same methods for accessing responseXML data as I do when I access the document object. In particular, I am trying to use css selectors to get parts of the responseXML object. The problem is that the methods just doesn''t seem to be available. I am not sure if I am trying to achieve something which just isn''t meant to work? What can i expect from the responseXML object? Is it possible to extend it in order to make it work as an ordinary (document) element? Below is a short snippet. The call to the select method in the init method does not seem to work. Any hints are greatly appreciated, Andreas var publications; Event.observe(window, ''load'', getPublications); function getPublications () { var url = ''/wserv/publications/publikationer.xml''; new Ajax.Request(url, { method:''get'', onSuccess: init, onFailure: function(){ alert(''Something went wrong...'') } } ); } function init (transport) { publications = $(transport.responseXML); var pubs = publications.select(''publication''); alert(pubs.size()); } --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---