tags:

views:

28

answers:

1

hi all, now when i started accepting answers and my accept rate is getting better, i hope,some1 will help me out now.

here is how my xml looks like(i m callling xml using JSON)

> <shishir>   <english>    <0>a</0>   
> <1>aa</1>    <2>aaa</2>    <3>aaaa</3>
> <4>aaaaaa</4>    <5>aaaaaaa</5>
> </english> </shishir>

now what i want is ,to put this value in an array,and then ,want to set dis array into table view.

But i hv knw idea how can i do it.

so let me know,how to set this array in table view.

Quick reply is always apprciated.

regards

+1  A: 

If you have valid XML, it's easy to parse it using NSXMLParser.

You can then create a UITableViewController subclass and present the data in the array quite easily.

These two guides should be of help:

Can Berk Güder
thanks mate,i started working on ur point.regardsshishir
shishir.bobby
What if i want to retrive values in between<0>shishir</0><1>shishir2</1> tagsi want output as shishir shishir2how can i do this?
shishir.bobby
`parser:foundCharacters:`
Can Berk Güder
can u explain parser:foundcharacter, l'll bit more.thanks n regardshishir
shishir.bobby