Previously I mentioned the IGHTMLQuery library inspired by NokoGiri and JQuery allowing you to query HTML by XPath and chain commands.
Here’s a Nokogiri inspired open source HTML and XML parsing library from Mattt Thompson called Ono with a nice set of features.
Some of the features of Ono include:
– Support for queries using XPath & CSS selectors
– Easy access of attributes by name
– Easy date conversion, and access to date information
– Support for namespaces
– Blocks based callbacks for query results
– Error handling
Here’s an example from the readme showing how to create an Xpath query:
NSLog(@"%@", element);
}];
You can find Ono on Github here.
A nice very nice library for pasing HTML.
- Tutorial: Parsing HTML On With The Objective-C LibXML Wrapper Hpple
- Open Source iOS Library Inspired By Nokogiri and JQuery For Easier XML/HTML Parsing
- Tutorial: Fetching And Parsing JSON And XML With Simple Reusable Classes
- Open Source Objective-C Library For Easily Parsing/Writing CSV Files
- Open Source iOS Library For Simplifying Data Parsing
Original article: An Objective-C HTML And XML Parsing Library With CSS Selector And Xpath Support And More
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




