View Full Version : Loading XML without parsing

24 Sep 2010, 4:03 AM
Hello everyone,

I am trying to find how I can load an XML file from the server with EXT the way I do it with Jquery:

$.post(url, function(data){
doc = data;
}, "xml")

All I need it to assign the XML to a variable (as doc in the Jquery example)

The next thing I am trying to do is to show a spinner while loading the xml from the server.

Any ideas?

Thank you!


24 Sep 2010, 5:23 AM
just create a Ext.Ajax.request to get the data

24 Sep 2010, 10:54 AM
Ok thanks - but how do I store the data in a variable. I guess it's simple but somehow I can't see how I do it

24 Sep 2010, 10:52 PM
You just have to read.