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
3
votes
3 answers

Strange iPhone memory leak in xml parser

Update: I edited the code, but the problem persists... Hi everyone, this is my first post here - I found this place a great ressource for solving many of my questions. Normally I try my best to fix anything on my own but this time I really have no…
Chris
  • 117
  • 1
  • 8
2
votes
2 answers

Parsing subnode with TouchXML

I'm using TouchXML to parse my RSS. The new XML 2 2
ruben
  • 69
  • 1
  • 7
2
votes
2 answers

libxml/tree.h no such file or directory after integrating three20 library

i am getting Libxml/tree.h:No such file or directory error and other xml related error after adding three20 library to my project. i have added -lxml2 to other linker flags i have added /usr/include/libxml2 to header search path. but still getting…
Kshitiz Ghimire
  • 1,716
  • 3
  • 18
  • 37
2
votes
1 answer

TouchXML - Invalid XML does not return error object

Say I have an invalid XML. For some reason, TouchXML still sees it as a valid object. For example: NSString *str = @"?> obviously invalid!"; NSData *data = [str dataUsingEncoding:NSASCIIStringEncoding]; NSError *parseError = nil; CXMLDocument…
mmilo
  • 806
  • 11
  • 18
2
votes
1 answer

Example of ASIHTTPRequest with TouchXML

I am currently using NSXMLParser mathods to parse my data something like this : But I found some good option as TouchXML . I googled for some good example or tutorial But I can't understand the XPathquery format and the parsing loops as done…
harshalb
  • 6,012
  • 13
  • 56
  • 92
2
votes
0 answers

TouchXMl (nodesForXPath) returning NULL object

I have following xml mutableData. userName PdppDDD8388OPDJJD== And I have…
Ajay_Kumar
  • 1,381
  • 10
  • 34
  • 62
1
vote
1 answer

TouchXML Empty Node values

I am trying to parse some XML for an iphone app(IOS5 xcode4.2) I had given up with NSXMLParser as it was a pain to get anywhere. So I went with touchXML, I am able to pull my remote XML file from a web server and see node names but the values of…
GerritVK
  • 325
  • 2
  • 11
1
vote
3 answers

How do I post TouchXML library in iOS 5?

I want to parse some complected XML files, so I have plan to used TouchXML library (code) I used latest version of XCode iOS 5 in ARC environment. But my project already working in non-ARC environment. How do I convert TouchXML classes in non-ARC…
Tirth
  • 7,801
  • 9
  • 55
  • 88
1
vote
1 answer

Difference between TouchXML and GDataXML parser

I have two options in front of me for parsing really fat XML file, TouchXML GDataXML It's lot of work to do because XML file is very huge. I thought of asking people who have already worked with these parsers. Which one is better for fat XML…
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
1
vote
3 answers

TouchXML over release problem

I'm getting an EXEC_BAD_ACCESS error when I release a CXMLDocument. Here's my very simple code which has no dependencies: @implementation TestViewController - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; NSError…
Brandon O'Rourke
  • 24,165
  • 16
  • 57
  • 58
1
vote
2 answers

Parsing an NSString with TouchXML?

I am trying to parse thE following string that i receive from my WebService using SOAP.. Since i am not able to parse the data i receive from my web service( of which i have no idea why.. please take a look here parsing XML using Soap Web Services) …
hemant
  • 1,771
  • 4
  • 31
  • 43
1
vote
1 answer

TouchXML deprecated?

I tried to download it and google says it's deprecated. Deprecated by what? What are the new replacement?
user4951
  • 32,206
  • 53
  • 172
  • 282
1
vote
0 answers

nodesForXPath does not return any nodes: TouchXML

I'm consuming a Web Service using TouchXML and I'm unable to read the nodes as per the tutorial. I do receive the CXMLDocument element, however, my nodesForXPath call always returns NULL. What could be wrong? XML Parsing code NSMutableArray *res =…
Vishal Shah
  • 1,042
  • 8
  • 11
1
vote
1 answer

Objective C, A Question about xpath

topic_id 102
codereviewanskquestions
  • 13,460
  • 29
  • 98
  • 167
1
vote
0 answers

How to usw TouchXML to parse opengis xls?

I'd like to parse a osm generated xml file. It has got the structure of opengis xls. I really don't know how to parse that with TouchXML. Hope you guys can help me on that… Here's some sample xml code:
danielreiser
  • 5,292
  • 5
  • 31
  • 43