[英]TFHppleElement (Hpple), parsing HTML on iphone
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. 我正在使用Hpple,到目前为止,一切都非常好,但是我想将所有div都放入另一个,并且我可以做到。 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.
但是后来我无法进一步解析内容(innerHTML,并且在源代码中被标记为innerHTML而不是innerText),要求元素内容不返回任何内容,因为该元素中没有直接文本,只有子节点/元素然后包含文本。
What alternatives are there to Hpple and parsing HTML on the iPhone. 在iPhone上,Hpple和解析HTML有哪些替代方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.