How would you best get all the input fields (text, radiobutton, checkbox, select etc) semi-automatically out of dodgy formatted html documents?
Trying to get the TYPE,NAME,VALUE
and OPTION
for SELECT
.
I am currently using Xpath (in PHP) because everyone here says 'use that instead' but I'm getting nowhere with it. So I am open to suggestions. I have a shell present, so it may be 'ordinary' grep too.
Thanks. Matt