When doing an Ext.Ajax.request(), in most cases the response is in JSON format and the
var resp = Ext.decode(response.responseText); works fine.
If the response is going to be in XML format, of course this won't work. I'm having a hard time figuring out how to do this. All examples for XML are centered around the data being in a store. I've configured stores to use XML fine and have them working.
But, just a simple Ajax.request response I can't find an example for. Is there an equivalent to Ext.decode() for a XML response?
var resp = Ext.decode(response.responseText); works fine.
If the response is going to be in XML format, of course this won't work. I'm having a hard time figuring out how to do this. All examples for XML are centered around the data being in a store. I've configured stores to use XML fine and have them working.
But, just a simple Ajax.request response I can't find an example for. Is there an equivalent to Ext.decode() for a XML response?
Comment