hi all, i am having an output xml which looks something like this,
<?xml version="1.0"?>
<root>
<apple><apple1>A</apple1></apple>
<ball><ball1>B</ball1></ball>
<cat><cat1>C</cat1></cat>
<dog><dog1>D</dog1></dog>
<ele><ele1>E</ele1></ele>
<root>
i am using NSXmlParser, i m confused, is tgis a gud xml structure?>//
secondly i dont knw how to parse this xml , i mean how should i write condition in parser didSTart
and didEndElement
???
i m not to able properly navigate through each node, from apple to ele. i just want to assign the returned value of say apple to a string. same for each node.
i m so confused in if / else condition.
Suggestions are always appreciated
regards