0

How to Parse XML from live URL without any soap message.

< stores >
< store value="abc" >XYZ< /store >
< store value="pqr" >SAM< /store >
< store value="ZZZ" >ALG< /store >
< /stores >

And how to get the value i.e. "abc", "pqr", "ZZZ" from the XML.

Thanks in advance.

Viraj
  • 1,880
  • 22
  • 31
Mobile App Dev
  • 1,824
  • 3
  • 20
  • 45

1 Answers1

0

I have no idea what you're talking about, but this answer might help you: XML Parsing in Cocoa Touch/iPhone. Also, to actually get the XML from the server, check out the docs

There's even a video tutorial about XML parsing on iOS

Community
  • 1
  • 1
Johannes Fahrenkrug
  • 42,912
  • 19
  • 126
  • 165
  • Actually i am getting data in these format and i want to store value like abc, pqr, ZZZ, etc. as well as XYZ, SAM, ALG accordingly. But in iphone parsing method i can not get value field in tag. – Mobile App Dev Mar 16 '11 at 07:55
  • TMXML does this: http://www.tbxml.co.uk/TBXML/Guides_-_Extracting_attributes.html – Johannes Fahrenkrug Mar 16 '11 at 09:09