xmlreader - Extjs xml reader not working -


i have following xml configuration...

<?xml version="1.0" encoding="utf-8"?> <schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" namespace="incidentmgt"> <entitytype name="in"> <property name="persistent_id" type="edm.string" nullable="true" maxlength="30"/> <property name="active_f" type="edm.int32" nullable="true"/> <property name="add_property_persids" type="edm.string" nullable="true"/> <property name="add_workflow_persids" type="edm.string" nullable="true"/> </entitytype> <entitytype name="at"> <property name="persistent_id" type="edm.string" nullable="true" maxlength="30"/> <property name="active_f" type="edm.int32" nullable="true"/> <property name="add_property_persids" type="edm.string" nullable="true"/> <property name="add_workflow_persids" type="edm.string" nullable="true"/> </entitytype> </schema>  

following xml reader configuration:

reader : {             type : 'xml',             record : 'property',             rootproperty: 'entitytype',          } 

my model :

fields: [{name:'name',mapping:'@name'}]

i facing problem in loading store.... let me know mistake/where should change make work

without rest of code, can't tell error.

here working example using data provided.

compare code, maybe can find problem.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -