XML : Parse XML closing tag in iOS (Objective C)?

I want to identify a closing tag from my xml response. For example,

  <ItemLocationResponse xxxx>      <UserProfile>          blah blah contents..      </UserProfile>      <UserProfile>          blah blah contents..      </UserProfile>  </ItemLocationResponse>    

I want to identify the closing tag . Currently i am able to parse the data containing in an opening tag. From the above example, i can parse the data containing in "blah blah contents" from each opening tags . I tried much for getting the closing tag for identifying that the xml response has been ended. So how can i identify the closing tag has been came over?

No comments:

Post a Comment