How To Read Same Name Child Tag From Xml In Android
hello i am new in android i want know how to iterate child node from xml xml is as follow
Solution 1:
Take a look at this answer.
Update: the code posted will only list the first Item because the loop over nodes3
in onCreate
loops only over the ACT
elements. Since you have only one of these, the loop will iterate once, write out the first child and then terminate. You must have a second loop inside your loop where you iterate over all child nodes of element e
.
Post a Comment for "How To Read Same Name Child Tag From Xml In Android"