I am a relatively new programmer who is trying to write an application that parses/retrieves information from an HTML page, and extracts relevant parts of the HTML (usually from tables) into Java Strings. I have heard of javax.swing.text.html.parser. Would this do the job, and if so, can somebody give me some pointers on how to use it. Some simple sample code would be useful, just so that I can work out how to use it. Thanks, Neil.
You may also want to take a look at XMLC from Lutris (though I am not sure if there are still making it freely available). It builds a DOM object tree from an HTML document. You can then search through the tree to find the elements you want. Hope this helps
------------------ Chris Stehno (Sun Certified Programmer for the Java 2 Platform)