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

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top