XML Parsing Problem

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

XML Parsing Problem

Postby yusuf » Sun Apr 18, 2010 8:40 pm

<?xml version="1.0" encoding="UTF-8" ?>
- <viewmor>
- <head>
<userid>akashagnihotri</userid>
<sessionid>FADBC474233233F6B5F1377E120D318A</sessionid>
<validuser>true</validuser>
<responsetype>success</responsetype>
</head>
- <body>
<noofmails>4</noofmails>
- <emails>
- <email sno="1" subject="Fwd: World's Most Extraordinary People" eid="imap.gmail.com:UID:INBOX:UID:674" eaccname="emailacc1" received="1269860921000" size="449868" from="shreesh basatwar<shreesh115@gmail.com>;" to="i need u to say..<anuj_sharma23@rediffmail.com>; ???? yusuf ?????......int 21h<yusufwagh@gmail.com>; akash.a.agnihotri@gmail.com;">
<attachments>true</attachments>
</email>
- <email sno="2" subject="report" eid="imap.gmail.com:UID:INBOX:UID:652" eaccname="emailacc1" received="1269606753000" size="4270550" from="shreesh wasudeo basatwar<shreesh115@rediffmail.com>;" to="anuj_sharma23@rediffmail.com; akash.a.agnihotri@gmail.com;">
<attachments>true</attachments>
</email>
- <email sno="3" subject="report wid diagrams" eid="imap.gmail.com:UID:INBOX:UID:697" eaccname="emailacc1" received="1270381757000" size="633986" from="shreesh wasudeo basatwar<shreesh115@rediffmail.com>;" to="akash.a.agnihotri@gmail.com;">
<attachments>true</attachments>
</email>
- <email sno="4" subject="Invitation to connect on LinkedIn" eid="imap.gmail.com:UID:INBOX:UID:32" eaccname="emailacc1" received="1249633021000" size="4396" from="shreesh basatwar<shreesh115@gmail.com>; messages-noreply@bounce.linkedin.com;" to="akash agnihotri<akash.a.agnihotri@gmail.com>;">
<attachments>false</attachments>
</email>
</emails>
<msg />
</body>
</viewmor>


Hey guyzz i want parse this xml but i cant find the way to parse. i'm using sax parser. Plzzz u can give me solution how to parse this xml
Androiding.........................
yusuf
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Mon Feb 15, 2010 4:25 pm
Location: Pune,India

Top

Postby Johan Degraeve » Mon Apr 19, 2010 7:08 am

Hi,

please have a look here : http://code.google.com/p/easyxmldata/
regards,

Johan
Johan Degraeve
Experienced Developer
Experienced Developer
 
Posts: 55
Joined: Tue Oct 27, 2009 1:50 pm
Location: Belgium

Postby yusuf » Mon Apr 19, 2010 7:34 am

Thanx a lot
Androiding.........................
yusuf
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Mon Feb 15, 2010 4:25 pm
Location: Pune,India

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 5 guests