- Joined
- Jun 3, 2011
- Messages
- 54
- Reaction score
- 0
- Points
- 6
Dear All
I want to populate my uitable with data fethced from xml file.
xml file is something like:
I want to parse xml like this so that i get Project name as separate list, sub_project name with separate list and file names as separate list. How to parse xml using NSXML?
Kindly provide me some tutorial with sample code worked on for some sample xml.
Thanks
I want to populate my uitable with data fethced from xml file.
xml file is something like:
Code:
<Main_Project1>
<Project1>
<SUb_project1>
<file>abc.txt</file>
<file>abc.pdf</file>
</SUb_project1>
<SUb_project2>
<file>abc.txt</file>
<file>abc.csv</file>
</SUb_project2>
</Project1>
<Project2>
<SUb_project1>
<file>abc.txt</file>
<file>abc.txt</file>
</SUb_project1>
<SUb_project2>
<file>abc.txt</file>
<file>abc.txt</file>
</SUb_project2>
</Project2>
.........
.......
</Main_Project1>
I want to parse xml like this so that i get Project name as separate list, sub_project name with separate list and file names as separate list. How to parse xml using NSXML?
Kindly provide me some tutorial with sample code worked on for some sample xml.
Thanks