开发者

Looking for java html parser like simple html dom in PHP [closed]

Closed. This question does 开发者_如何学JAVAnot meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I am Looking for java html parser like (I know java well vs my bad php - in this way i want understand how html parser works) simple html dom in PHP.

thanks


Try jsoup. It is the best HTML parser as far as I know.


Try TagSoup, a SAX parser that takes in real-world messy HTML and triggers SAX XML events on your ContentHandler. I recommend using this with JDOM to build a JDOM Document that you can walk manually, or via XPath.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜