Re: Using StringBean

Derrick Oswald <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Since StringBean implements NodeVisitor you can

list.visitAllNodesWith (myStringbean);


On Fri, Jun 12, 2009 at 7:10 PM, Kasper Sÿfffffffffff8rensen <
[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
>

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.