var reader = new Ext.data.XmlReader({
record : "row"
}, [{
name : 'paramName'
}]);
var ds = new Ext.data.Store({
url : '../datasource.xml',
reader : reader
});
ds.on('load', AJAX_Loaded, this, true);
ds.load();
function AJAX_Loaded() {
for (var i = 0; i < ds.getCount(); i++) {
var rec = ds.getAt(i);
value= rec.get("'paramName");
// alert("occupation = '" + rec.get("occupation"));
// alert("name = '" + rec.get("name"));
}
}