[Htmlparser-user] Using StringBean
Brought to you by:
derrickoswald
From: Kasper S. <kas...@ya...> - 2009-06-12 17:37:35
|
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 |