开发者

TFHppleElement (Hpple), parsing HTML on iphone

开发者 https://www.devze.com 2022-12-31 10:51 出处:网络
I\'m using Hpple and it\'s been great so far however I want to get all the divs inside another and that I can do. But then开发者_开发问答 I am unable to further parse the contents (innerHTML, and in t

I'm using Hpple and it's been great so far however I want to get all the divs inside another and that I can do. But then开发者_开发问答 I am unable to further parse the contents (innerHTML, and in the source it is labelled innerHTML not innerText) asking for the elements content returns nothing as there is no text directly in that element, only child nodes/elements which then contain text.

What alternatives are there to Hpple and parsing HTML on the iPhone.


The alternatives to Hpple I have found so far were:

  • ElementParser
  • Objective-C HTML Parser
  • XPathQuery

Since I am in the process of researching the issue myself I have still no idea, which one is best suited for your problem, however.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号