View Full Version : Problem with XMLStore

3 Feb 2010, 11:29 PM

I want to fill my XMLStore with the data attribute. It seems that the Reader recognize the correct data but the store is empty.

My data object looks like in the following way

var data = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
and the XMLStore looks like this

this.store = new Ext.data.XmlStore({
autoDestroy: true,
storeId: 'myDocStore',
data: documentList, //my method head looks like displayData: function(documentList)
record: 'document',
idProperty: 'id',
{name: 'year'}]

Can anyone tell me, what I could do to solve the problem?

4 Feb 2010, 1:56 PM
is it possible to use data within the xmlStore?

8 Feb 2010, 1:42 AM
It seems that the reader can read the xml, but the store is empty. I have no idea anymore

Eric Blische
4 Apr 2010, 4:04 PM
Is it because the Xml has an element 'Document' (capital D)
but your Reader is looking for 'document' with a li'l d ?