Jason
Jason

Reputation: 14605

TBXML and XPath on iPhone?

I've been looking for a good XML parsing library for my iPhone app and the TBXML library was suggested because it's the fastest. However it doesn't appear to have support for XPath, which is unfortunate because that's the reason why I want to parse XML documents (actually, HTML documents parsed and searched as XML). Are there any resources to make XPath available to TBXML, or what are some of the other fastest and most memory-conservative XML libraries for iPhone which support XPath queries?

Upvotes: 1

Views: 1076

Answers (1)

Ludovic Landry
Ludovic Landry

Reputation: 11774

XPath will alway be more expensive than the one you find. libxml2 looks good for what you want: http://cocoawithlove.com/2008/10/using-libxml2-for-parsing-and-xpath.html

Upvotes: 1

Related Questions