Re: [Htmlparser-user] how to extract text after a certain text
Brought to you by:
derrickoswald
From: Ian M. <ian...@gm...> - 2006-11-06 09:07:54
|
One thing you could do is make a PRE tag class, if one does not currently exist. Ideally, you would then submit it to the project ;-) Ian On 11/4/06, Dave <jav...@ya...> wrote: > I am new to htmlparser. > > For example, > > <div>Good Morning</div> > <h3>Description</h3> > <pre> > Text to extract Line1 > Text to extract Line2 > </pre> > <div>Good Morning</div> > > My question: > > How to extract > > Text to extract Line1 > Text to extract Line2 > > after "Description" using filters? > > I tried Sibling and HasChild filters, it does not work. Also I noticed that > <pre> is not treated as a tag. > > Thanks for help! > Dave > > ________________________________ > Access over 1 million songs - Yahoo! Music Unlimited Try it today. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > |