How to parse xml? Explain



How to parse xml? Explain..

Answer / Nishant Bajhaiya

To parse XML in Apple iOS, use the NSXMLParser class. You create a subclass of `NSXMLParser`, implement delegate methods like `parser:didStartElement:` and `parser:foundCharactersData:`, then call `parseXMLWithData:` on your subclass instance passing an NSData object containing the XML data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Who calls the main function of you app during the app launch cycle in iOS operating system?

1 Answers   TryTechnicals Pvt Ltd,


What is Task?

1 Answers  


What is arc ? How it works?

1 Answers  


What is a delegate xcode?

1 Answers  


Can apk files run on ios?

1 Answers  


What are some common execution states in ios?

1 Answers  


How you will store user info (username, password or token) securely in ios?

1 Answers  


What is uiviewcontroller in ios?

1 Answers  


Please explain what is difference strong and weak reference?

1 Answers  


Differentiate ‘app id’ from ‘bundle id.’ Explain why they are used?

1 Answers  


What are the features of ios?

1 Answers  


What is strong in ios?

1 Answers  


Categories