问题
I need a powerful HTML parser and manipulator for Objective-C/C, like HTML Agility Pack.
Can anyone tell me some optimal solution? One solution is libxml2, but it seams is not the best.
Thanks in advance!
回答1:
On MacOS X, NSXMLDocument
is a good solution (but you want iPhone).
Two packages that you should look at are: TouchXML and KissXML.
See also iPhone Development - XMLParser vs. libxml2 vs. TouchXML.
来源:https://stackoverflow.com/questions/2712213/html-agility-pack-like-solutions-for-c-objective-c-iphone