[Htmlparser-user] Getting all tags??
Brought to you by:
derrickoswald
From: Thomas Z. <li...@th...> - 2006-04-24 18:04:04
|
Dear list, I'm very new to the htmlparser and have some problems with the documentation ... I need nothing else than a little program which extracts *all* HTML-tags of a HTML-document. I took a look at the docs and find this example: Typical usage of the parser is: | | Parser parser = new Parser ("http://whatever"); NodeList list = parser.parse (); // do something with your list of nodes. But when I try to NodeList list = parser.parse(), it tells me that it needs an "NodeFilter filter" as argument. But I don't need any filterm, I want all tags in the doc ... how can I do this? Thank you very much for your labour! Best regards, Tom |