Skip to content Skip to sidebar Skip to footer

Parsing Deeply Nested Xml In Sencha Touch

I'm trying to parse a xml file and I'm having problems with a really simple nested tag but every example I have seen just takes the easy way of reading not nested xml tags, or plai

Solution 1:

Your code seems right. You only need to change mapping:'@src' to mapping:'src' i.e. with out the @ character.


Solution 2:

I ended up parsing the xml with plain js and adding each object to the store, hopefully sencha touch 2 will have a working xml reader on it's final release.


Post a Comment for "Parsing Deeply Nested Xml In Sencha Touch"