android simplexml parse elements with dynamic name

nullhack

New Member
I need some advice how to parse this xml with java simplexml lib.Problem is that i don't how how many items i will have in this xml element.\[code\]<Playoffs><PlayoffStatus>Potential Brackets</PlayoffStatus><LConference>Western Conference</LConference><RConference>Eastern Conference</RConference><LTeam1>Clippers (1)</LTeam1><LTeam2>Nuggets (8)</LTeam2><LTeam3>Grizzlies (4)</LTeam3><LTeam4>Warriors (5)</LTeam4><LTeam5>Spurs (3)</LTeam5><RTeam1>Heat (1)</RTeam1><RTeam2>Celtics (8)</RTeam2><RTeam3>Pacers (4)</RTeam3><RTeam4>Bulls (5)</RTeam4><RTeam5>Hawks (3)</RTeam5> .......\[/code\]
 
Back
Top