Re: [Htmlparser-user] Reading HTML doc
Brought to you by:
derrickoswald
|
From: Derrick O. <Der...@Ro...> - 2006-03-03 12:35:20
|
I would suggest trying the FilterBuilder utility. You'll want things like TagNameFilter to get the <H3> and HasParent/HasChild/HasSibling filters to navigate around the node tree. abh...@hs... wrote: > > >Hi , >I am going through the HtmlParser classes to develop a utility which reads >HTML from a java program. > >My HTML doc has the info like this > ><H2>My Name</H2><H3>Address</H3> ><P>It is not useful</P><H3>Age</H3> ><P>It is important</P> > >I have to read the content between <H1><H2> and the corresponding <P> tags >. > How to do this or how to get started. > >Thanks in advance >Abhijeet > >************************************************************ >HSBC Software Development (India) Pvt Ltd >HSBC Center Riverside,West Avenue , >25 B Kalyani Nagar Pune 411 006 INDIA > >Telephone: +91 20 26683000 >Fax: +91 20 26681030 >************************************************************ > > >----------------------------------------- >*********************************************************************** >This e-mail is confidential. It may also be legally privileged. >If you are not the addressee you may not copy, forward, disclose >or use any part of it. If you have received this message in error, >please delete it and all copies from your system and notify the >sender immediately by return e-mail. > >Internet communications cannot be guaranteed to be timely, >secure, error or virus-free. The sender does not accept liability >for any errors or omissions. >*********************************************************************** > > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Htmlparser-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > |