Questions tagged [nsxmlparser]

NSXMLParser is a class of the Foundation Framework of Mac OSX developer library. This class allows developers to parse XML documents (including DTD declarations) in an event-driven manner.

NSXMLParser is a class of the Foundation Framework of Mac OSX developer library. This class allows developers to parse XML documents (including DTD declarations) in an event-driven manner. An NSXMLParser notifies its delegate about the items (elements, attributes, CDATA blocks, comments, and so on) that it encounters as it processes an XML document. It does not itself do anything with those parsed items except report them. It also reports parsing errors.

API documentation available at http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html

1267 questions
-2
votes
3 answers

How to consume a .NET web service in an iPhone app?

I am in the process of creating an iPhone app that requires to interact with a .Net web service. I did some research this but a lot discussions on this website were outdated. So I thought it would be best to ask the question again and see if anyone…
wackytacky99
  • 614
  • 1
  • 14
  • 33
-3
votes
1 answer

NSXmlParser iPhone sdk parsesing data problem

I have am parsing some data from rss but some of that data is being parsed partially so tried to append string but it is not working here is some code: -(id)loadXmlByURL:(NSString *)url{ titles = [[NSMutableArray alloc]init]; NSURL *URL = [NSURL…
Tushar Chutani
  • 1,522
  • 5
  • 27
  • 57
-3
votes
1 answer

Multiple NSXMLParser calls

I use an API call which returns an XML file. I need to use the same multiple times. For e.g. on Click of Search button, call http://xyz.com/s1/?para1=srch Then in a different view, call http://xyz.com/s2/?para2=set2 How should I implement the same?…
hmthur
  • 1,032
  • 3
  • 13
  • 15
-3
votes
1 answer

XMLParser enclosure attributes for AEXML library

I am using a XMLParser Library. I have a xmlDoc and I don't know how can handle some tag values. For example: ..... .... If I have like above xml works fine. But when I want to parse like…
Mayday
  • 187
  • 2
  • 8
-3
votes
1 answer

NSXMLParser for xml! why is it so hard to use? is there an easy way?

For the last few hours I have tired to get my head around using NSXMLParser. I understand parts of how it works. WHY Oh WHY! is this so hard? Is there an easy way to do it, like just name the tag and get the contents? Oh how I miss XmlDocument…
Morry
  • 121
  • 2
  • 13
-3
votes
3 answers

How Can I parse an xml with empty tags using NSXMLParser?

How to parse the xml tags with empty values to get null values using NSXMLParser. I'm using the following code : - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI…
kingMaker
  • 13
  • 5
-3
votes
3 answers

Why does this not parse correctly?

Ok so basically, I am trying to parse a sub-element: The current original document that I want to parse contain as below for example: sub-element-content1: AB, CD, DE, &…
Confused_person
  • 103
  • 1
  • 2
  • 11
1 2 3
84
85