PDA

View Full Version : Loading XML without parsing



horowitz
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!

Roni

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

horowitz
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

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

http://i131.photobucket.com/albums/p286/TimeTrialAnimal/requestparams.jpg