PDA

View Full Version : XmlReader - gml



frane
3 Nov 2009, 6:45 AM
Hi,

I have to send a WFS req to a FeatureServer and that "xml" I have to read with xmlreader.
This is my code:



var store_hidro = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({url: 'http://xxx.xxx.xxx.xxx/fs/featureserver.fcgi/bbb?bbox=5577116.47,5071566.43,5577116.11,5071566.22'}),

reader: new Ext.data.XmlReader({
record: 'gml:featureMember',
}, [
{name: 'fs:CRPILI__TE', mapping: 'Crpilište'},
{name: 'fs:BROJ_ANALI'}
])
});

store_hidro.load();


I can't get any data. What is wrong?

Thanks