Re: [Htmlparser-user] creating own custom tag
Brought to you by:
derrickoswald
From: Derrick O. <Der...@Ro...> - 2005-03-28 21:32:15
|
I think you will probably just need to subclass CompositeTag and register it with the PrototypicalNodeFactory. See numerous examples in the org.htmlparser.tags package regarding subclassing, and see org.htmlparser.parserapplications.SiteCapturer for an example of registration. Bart Smith wrote: > Hello, > I need to create my own custom tags to search for. > On the wiki there is an article "Writing your own scanners" but it > says do not use this one. > > I have to create a custom tag without attirbutes. it will just be some > data between <mytag> </mytag> > > Thanks > Randy > > > <http://us.rd.yahoo.com/my/navbar/sethp/*http://www.yahoo.com/r/hs%20%0A> |