aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Extracting HTML Table Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Extracting HTML Table" Watch "Extracting HTML Table" New topic
Author

Extracting HTML Table

Hilton Meyer
Greenhorn

Joined: Nov 13, 2003
Posts: 17
I'm trying to extract a table off a web page so that I can place the data into a database. I've been trying hopelessly to use the HTMLEditorKit by iterating and even trying to get each element but I keep running into a brick wall. When using an iterator it returns null for HTML.Tag.TD even though there is a table present. I've read that there are some problems with tables in the editor so you may be able to point me in the right direction. I'm really at my the end of my wits so any help would be appreciated.


Keep it Tidy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Extracting HTML Table
 
Similar Threads
SWT - anybody had luck using TreeTableViewer's reveal() method?
Remembering JTable column widths
Making all of a certain id have .click()
HTML div tags - positioning
register cattle drive