There are several nice libraries of HTML Parsing using Swift and Objective-C like the followings: hpple NDHpple Kanna( old Swift-HTML-Parser) Fuzi SwiftSoup Ji Take a look in the following examples in the four libraries posted above, mainly parsed using XPath 2.0: hpple: let data = NSData(contentsOfFile: path) let doc = TFHpple(htmlData: data) if let elements = doc.searchWithXPathQuery("//a/@href[

