Re: [Htmlparser-user] parsing form elements
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-01-22 23:47:55
|
> Can someone give me some direction in using the > formscanner and formTag to > parse form elements like the buttons (submit, > cancel, etc) on a html page. Just rig up the parser as usual (parser.registerScanners()) - and check your node to see if it is a form tag. If it is, cast it and use the api. Use searchFor, or searchByName (in HTMLFormTag). The former gets anything that contains the given text, while the latter gives named elements within the form (as subclasses of HTMLTag). Regards, Somik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |