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.