View Full Version : Single line with XMLReader

27 Nov 2007, 6:06 AM

I have to read a XML response which looks like the following:

<?xml version="1.0" encoding="UTF-8"?>

My code so far:

var store = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: 'http://...'

reader: new Ext.data.XmlReader({
record: 'ticket',
}, ['ticket'])

As you can see I cannot specify a record and as I also cannot specify fields I even won't get a result if I specify id whit 'ticket'. Any ideas how to solve this issue?