[Htmlparser-user] Extracting snippet between body tag
Brought to you by:
derrickoswald
From: Subir B. <sub...@re...> - 2007-07-30 06:58:00
|
=0AHi=0A I'm new to HtmlParser. I want to get the code snippet betwee= n body tag parsing an html file.=0A=0AFor Example :=0A=0A<html>=0A <head>= =0A <title>=0A title=0A </title>=0A </head>=0A <body>=0A <div id=3D"te= st">=0A <P ALIGN=3D'LEFT'>=0A <FONT FACE=3D"SolaimanLipi" SIZE=3D"3" C= OLOR=3D"#000000">হোম  </FONT>=0A Testing Using Ht= mlParser=0A </P>=0A=0A </div>=0A </body>=0A</html>=0A=0A=0A From the= above html i want the snippet below :=0A=0A<div id=3D"test">=0A <P ALIGN= =3D'LEFT'>=0A <FONT FACE=3D"SolaimanLipi" SIZE=3D"3" COLOR=3D"#000000">&= #2489;োম  </FONT>=0A Testing Using HtmlParser=0A </P>= =0A=0A </div>=0A=0ACan anybody send me sample code for that ?=0A=0A=0AThan= ks in advance..=0A=0ARegards....=0A=0ASubir |