Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to convert XML to dictionary

ashwanik04ashwanik04 Posts: 16Registered Users
edited November 2011 in iPhone SDK Development
I need help in parsing XML
<Grandfather>
<Son name="1">
<Grandson name="1" />
</Son>
<Son name="2">
<Grandson name="1" />
</Son>
<Son name="3">
<Grandson name="1" />
<Grandson name="2" />
<Grandson name="3" />
</Son>
</Grandfather>

Can any body tell me how to convert this XML into dictionary
of the format
key(son) value(NSArray of grandsons)
Thanks in advance :)
Post edited by ashwanik04 on

Replies

Sign In or Register to comment.