PDA

View Full Version : How can i read xml item's attribute?



meriam
19 Jul 2011, 3:48 AM
Hi,
I'm newbie in Sencha touch and i need to parse a xml file.
I can display data between tag but i can't display data when i have an attribute like this:


<?xml version="1.0" encoding="utf-8"?>
<profile>
<nodea>text</nodea>
<nodeb name="nodeB"></nodeb>
</profile>

some body can help me please.Thanks for advance

meriam
19 Jul 2011, 11:34 PM
any helps please :(

erhandemirci
30 Jan 2012, 7:26 AM
please how parse xml attribute in sencha touch ?