Hi everybody,

First please excuse me for my poor level in english, i'm french.

I'im currently trying to make an app that use an "Ext.list", i want to make datastore loaded from xml but it doesn't work and i don't understant why.

So take a look at my "index.js" file :

Code:
Ext.setup({
    tabletStartupScreen: 'tablet_startup.png',
    phoneStartupScreen: 'phone_startup.png',
    icon: 'icon.png',
    glossOnIcon: false,
    onReady : function() {
        Ext.regModel('News', {
    fields: ['title', 'resume','content']
});
 store = new Ext.data.Store({
    model: 'User',
   model: 'News',
            sorters: 'title',
             proxy: {
                type: 'ajax',
                url: '/data.xml',
                reader: {
                    type: 'xml',
                    record: 'news'
                }
            },
    autoLoad: true
});        

var list = new Ext.List({
    fullscreen: true,
    
    itemTpl : '{firstName} {lastName}',
    grouped : true,
    indexBar: true,
    
    store: store
});
list.show();
        
});
This is my data.xml file :

HTML Code:
<NewsC>
    <news>
        <title>TEst</title>
        <resume>test</resume>
        <content>test.</content>
    </news>
    <news>
        <title>foo</title>
        <resume>foo</resume>
        <content>foo</content>
    </news>
</NewsC>

Do you have an idea ? to make it work?

Thank you, crackers-belin