Using StringBean

Kasper Sÿfffffffffff8rensen <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
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



      Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på LCD TV! Se her http://dk.yahoo.com/r/pat/lcd

------------------------------------------------------------------------------
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.