Post Reply 
 
Thread Rating:
  • 1 Votes - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you parse HTML in Java?
03-02-2010, 02:00 PM
Post: #1
How do you parse HTML in Java?
How should you decide which HTML parser to use? And, not the proliferation of HTML parser out there means that there is something wrong with the JDK HTML parser, javax.swing.text.html.HTMLEditorKit.Parser?

Its my life
Find all posts by this user
Quote this message in a reply
03-02-2010, 03:03 PM
Post: #2
RE: How do you parse HTML in Java?
JAVA in my opinion
Visit this user's website Find all posts by this user
Quote this message in a reply
29-06-2010, 04:43 PM (This post was last modified: 29-06-2010 04:43 PM by ritzbhogal delnaz.)
Post: #3
RE: How do you parse HTML in Java?
HTML Parser is the best option for parse HTML in Java. It is a Java library used to parse HTML in either a linear or nested fashion.

Debt Management
Find all posts by this user
Quote this message in a reply
22-07-2010, 03:39 PM
Post: #4
RE: How do you parse HTML in Java?
HTMLParser is a super fast real time parser for real-world HTML which serves as the basis for parsing text files formatted in HTML.

mbt shoes
Find all posts by this user
Quote this message in a reply
23-07-2010, 12:01 AM
Post: #5
RE: How do you parse HTML in Java?
Basically in the few cases that I had to process HTML, I wanted to be able to treat it like a DOM tree so I ended up using tid. This allowed me to use simple xpath to extract bits and pieces out of the html. And its main issues are jtid seems to be not maintained for several years. I ended up pulling an unreleased version from the version repository with several quite essential fixes it is quite slow.

online vouchers
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Convert PPT to HTML using command line or macro jimmyray 1 773 06-02-2010 02:40 PM
Last Post: ammar26
  How do you get html files onto the internet? alstonfered 1 670 03-02-2010 02:59 PM
Last Post: ammar26
  Do you write your HTML or CSS first? BruceSmith 1 650 22-01-2010 02:13 PM
Last Post: ammar26
Information HTML / XHTML / CSS References & Helping Meterial ammar26 0 532 28-12-2009 09:00 PM
Last Post: ammar26
Information HTML / XHTML / CSS Books & Tutorials precious.logic 0 599 16-03-2009 04:43 PM
Last Post: precious.logic
Information What is HTML/CSS? Mod_Saf 0 568 01-03-2009 11:56 PM
Last Post: Mod_Saf

Forum Jump:

Contact UsProgramming LogicsReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication