Since StringBean implements NodeVisitor you can
list.visitAllNodesWith (myStringbean);
On Fri, Jun 12, 2009 at 7:10 PM, Kasper Sÿfffffffffff8rensen <
kas...@ya...> wrote:
> Hello Htmlpaser users!
>
> I am trying to use the StringBean class to my benefit. It seems it
> functions very well when I give it an URL.
>
> But I would like to use it, if I already have all the content (ie, I have
> the html as a String). Is there any way to do this? Ive tried using the
> parser and getting the nodelist:
>
> Parser parser = new Parser();
> parser.setInputHTML("<html><body>test</body></html>");
> NodeList list = parser.parse(null);
>
> But then I dont know what to do, or if Im doing anything that makes sence.
>
> Thanks
> Kasper
>
> ------------------------------
>
> Skal du købe ny bil? Sammenlign priser på brugte biler med Kelkoo og find
> et godt tilbud! <http://dk.yahoo.com/r/pat/mmb>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Htmlparser-user mailing list
> Htm...@li...
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
>
|