Re: [Htmlparser-user] String With only a DataTable
Brought to you by:
derrickoswald
|
From: Ian M. <ian...@gm...> - 2006-07-19 15:23:22
|
HTMLParser is usually capable of parsing just an HTML fragment.
Parser.setInputHTML("html") and then Parser.parse(null).
Ian
On 7/14/06, Dennis Gesker <ge...@al...> wrote:
> Since it was just a string I added html and body tags and it seems I'm
> on my way.
>
> str = "<head><body> + str + "</head><;body>";
>
> --Dennis
>
> Dennis Gesker wrote:
> > I would like to parse a portion of html that I have in a buffer
> > (String), that is to say not a complete page. The string contains an
> > html table only.
> >
> > Could someone point to or provide some sample code for how to parse just
> > a fragment of html?
> >
> > Dennis
> >
> >
> >
>
> --
> Dennis R. Gesker
> email: de...@al...
> Key Id: 0xEFA10A51
>
>
>
> -------------------------------------------------------------------------
> 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
>
|