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:

109 questions
0
votes
2 answers

Message Sent to Deallocated Instance

I'm using TouchXML to parse an element in iOS. I retrieve a response from a web service using an NSInvocationOperation, then parse and display the results. Everything works fine as the background thread displays results on the main thread using …
Echilon
  • 10,064
  • 33
  • 131
  • 217
0
votes
4 answers

Weird crash if I try to release CXMLDocument

I am parsing some XML using TouchXML and I am getting a crash -EXC_BAD_ACCESS. What I found out through trial and error was that if I don't release my CXMLDocument (which I allocate), then everything is fine. Here's my code: - (NSArray *)getLookUps…
user635064
  • 6,219
  • 12
  • 54
  • 100
0
votes
1 answer

touchXML: stringValue not saved as string?

NSLog(@"Status: %@", [[[xmlElement elementsForName:@"status"] objectAtIndex:0] stringValue]); NSString *val = [[[xmlElement elementsForName:@"status"] objectAtIndex:0] stringValue]; if (val == @"error") { This is my…
Bernardo
  • 475
  • 1
  • 5
  • 19
0
votes
1 answer

TouchXML XPath query help

I have an xml I am using TouchXML to parse it. Basically, a Lookup looks like this: 201150103538705
sumderungHAY
  • 1,337
  • 18
  • 30
0
votes
2 answers

Efficient process is NSXML or TouchXML

I am parsing a simple XML file, which one i can use for efficient parsing
0
votes
1 answer

touchxml parser equal parser in Android?

touchxml parser in iphone is very quick , is there any such equal parser in android , or a trick to have such quick parsing ?
Zeeshan
  • 1
  • 1
0
votes
1 answer

TouchXML unable to parse YQL result XML on a iPhone

Problem 1: Has anyone worked with TouchXML, I am facing problem parcing rssfeed that has characters like & or even & The parser takes the url as input and doesn’t seem to parse the XML content. NSXMLParser has no such problem for the same feed…
Pawan Sachdeva
0
votes
2 answers

Using TouchXML with HTML Tidy

I am trying to set up TouchXML in my iPhone app to parse HTML from a website, but unfortunately the website's HTML isn't valid XML. I'd like to use HTML tidy to tidy it up, and in fact TouchXML has a setting, TOUCHXMLUSETIDY, which when turned on in…
Jason
  • 14,517
  • 25
  • 92
  • 153
0
votes
2 answers

Need Different links for xml parsing

a new bie here ... can anyone tell me links of good examples or good tutorials regarding different kinds of xml parsing?? these are the types I have figured out from somewhere .. NSXMLParser libxml2 TBXML TouchXML KissXML TinyXML GDataXML I…
Jean-Luc Godard
  • 1,873
  • 3
  • 28
  • 53
0
votes
2 answers

iPhone HTML Parsing using TouchXML and tidy

I'm trying to parse HTML using TouchXML. However, it seems that the data I want to parse (I do not control the source, it's downloaded from the internet) is partially malformed - I get various errors during the parse. Therefore, it seems that I…
JoeR
  • 1,901
  • 3
  • 25
  • 39
0
votes
0 answers

TouchXML Objective-C Create Document

I'm trying to create a document with TouchXML. I followed up this tutorial https://github.com/TouchCode/TouchXML/blob/develop/Documentation/TouchXMLParsing.markdown to parse the XML, that's working fine. Now I try to generate the same XML for. I…
Matz
  • 1,006
  • 10
  • 27
0
votes
1 answer

Parsing multiple attributes in TouchXML

I'm in the making of an application where I'm using TouchXML to parse an XML containing airport flight information. The XML looks like this:
rebellion
  • 6,628
  • 11
  • 48
  • 79
0
votes
2 answers

iPhone, parsing HTML with TouchXML

has any of you some experience with parsing HTML with the TouchXML lib on the iPhone. I would like to parse some html and therefore try to do the following self.parser = [[CXMLDocument alloc]initWithData:self.html options:0 error:&error1]; if…
Dude
  • 1
  • 1
  • 2
0
votes
2 answers

using variable in xpath query..is it possible?

Could some one please tell me how do we use the text function with variable in the XPath query in c-objective for iphone. I needed the information for Engineering Library present in the xml http://www.sis.pitt.edu/~arazeez/Librarydata.xml NSString…
i_raqz
  • 2,919
  • 10
  • 51
  • 87
0
votes
2 answers

how to get the nodes with specific element value

Could some one please tell me how do we use the text function in the XPath query. I needed the information for Hillman Library present in the xml http://www.sis.pitt.edu/~arazeez/Librarydata.xml resultNodes = [rssParser…