Questions tagged [touchxml]

TouchXML is a lightweight replacement for Cocoa's NSXML* cluster of classes. It is based on the commonly available open source libxml2 library.

TouchXML is a lightweight replacement for Cocoa's NSXML* cluster of classes. It is based on the commonly available open source libxml2 library.

References:

110 questions
1
vote
2 answers

Parsing xml having name space

I am trying to parse a xml given below with touchXml, i searched and found it is using name space so i need to use name space to parse that xml. but can any one please guide me exact name space for getting all the sub records of entry tag. i tried a…
Iqbal Khan
  • 4,416
  • 6
  • 41
  • 78
1
vote
0 answers

TouchXML and Facebook SDK iOS

I have been getting this error and I have been lost in trying to solve it: ld: warning: directory not found for option '-F/Users/user/Desktop/IntegratingFacebookTutorial-master/../../../Documents/FacebookSDK' Undefined symbols for architecture…
SuperString
  • 18,319
  • 34
  • 87
  • 115
1
vote
1 answer

iOS How to hide double values in UITableView row

I am busy with an application where I show a list of events in a TableView. Per row/cell I have an event showing the title of the event and the date. The problem now is that when there are 2 or more events on one day the app now shows them nicely…
iJar
  • 147
  • 1
  • 15
1
vote
2 answers

JSONKit for xcode 4.6 ios 6 with ARC?

Well, I did add the JSONKit classes (JSONKit.h & JSONKit.h) but in the .m file, I have a lot of warnings & compil's error's like: NSError *error; //--> ARC forbids Objetive-C in structs or unions or id key, object; whit the same error anObject…
1
vote
0 answers

how to only change the content with every navigation while keeping the user objects constant

i have used a tutorial online which uses touchXML and parsed a particular website so that it provides me all the elements with their values // Convert the supplied URL string into a usable URL object NSURL *url = [NSURL URLWithString:…
1
vote
2 answers

unable to parse xml using touchXML, nodesForXPath return nothing

I am trying to parse xml using the touchXML library but not getting the results, the code is as below NSError *error = nil; CXMLDocument *xmlParser = [[CXMLDocument alloc] initWithXMLString:dataString options:0 error:&error]; NSArray…
Shashank
  • 1,017
  • 1
  • 13
  • 24
1
vote
2 answers

NSArray elements from parsed .xml file not accessible on iPhone, using TouchXML

I have an NSMutableArray *myArray, wich is the result of a properly .xml parsed file, using TouchXML. I just want to extract all elements with key name and store then in a separate NSMutableArray, but my final NSMutableArray *namesList is not…
neowinston
  • 6,762
  • 9
  • 49
  • 80
0
votes
0 answers

Missing nodesForXPath error checking?

I'm parsing Google's Weather API and, for example, have the following code to parse the current Celsius temperature for the given location: currentTempC = [[[[[parse nodesForXPath:@"/xml_api_reply/weather/current_conditions/temp_c" error:nil]…
Donavon Yelton
  • 1,197
  • 3
  • 14
  • 23
0
votes
2 answers

SOAP usage in iOS with touchXML

I'm using a sudz-c generated SOAP framework, my service calls seem to work fine, but when I try doing anything with the data, iOS (emulator) crashes. This is the service call... [service hentOpgaveliste:self action:@selector(handleToDoList:)…
Half_Duplex
  • 3,653
  • 3
  • 24
  • 46
0
votes
1 answer

Parsed TouchXML XML file crashes when reading NSString

I'm able to successfully parse the contents of a XML file using TouchXML, but when I try to read an individual NSString, from the NSMutableArray that stores the parsed content, the iPhone app crashes. My NSLog shows me that the file has been parse…
neowinston
  • 6,762
  • 9
  • 49
  • 80
0
votes
2 answers

Unable to parse and build nested XML elements with TouchXML

How to use TouchXML when nested elements appear inside xml? I would like need to nest image names inside NSArray for dictionary key @"images", however something is wrong with the code :(. Here's the structure of XML:
Centurion
  • 13,168
  • 31
  • 99
  • 189
0
votes
1 answer

sudzC handle parameters

I m just started a new project which requires communication with a soap webservice developped by another company The functions requires some paramters ex: TPLogin parameters required: SLogin=XXX SPassword=XXX my question is : how do I pass…
Nico AD
  • 1,627
  • 3
  • 28
  • 47
0
votes
1 answer

Try to recover from an error with TouchXML

I'm trying to make an XPath query with TouchXML, but if the query fail, the programm crash immmediately. Is there any way to prevent this and continue the execution of the programme. I know that TouchXML is based on libxml2 and that lib have an…
thbkrshw
0
votes
1 answer

iphone - How to use TouchXML to convert HTML to tidy XHTML before parsing?

There are several questions with similar titles as this one, asking about using TouchXML with HTML Tidy. But almost all of them were trying to ask how to set up Tidy. Mine is trying to ask (if you allow me :D) how exactly I can parse HTML with…
Jackson Tale
  • 23,820
  • 29
  • 135
  • 251