PDA

Click to See Complete Forum and Search --> : Parsing HTML Fields


noone
Aug 31st, 2000, 10:12 PM
Does anyone know where I can find source code for a class that will take HTML source code and parse out the names and values of HTML form elements from within it? I don't want to have to write the entire class myself unless I have to, no point reinventing the wheel.
I thought about using an XML parser and even started experimenting with it, but too many HTML pages are non well formed for this to work.
Thanks.

Dec 14th, 2000, 03:21 PM
I'm sure we would need to parse the tags to make the following have active hyperlinks

http://forums.vb-world.net/showthread.php?threadid=44668

so I expect the Parser class to still be needed unless there are cool attributes/methods in the JEditorPane.