I want to remove the html div and table tags and something inside it (childs), what is the best way to do this?
I tried crawling a document like this, but it doesn't work, the Jsoup documentation says that node.remove() removes the element from the DOM and its children:
doc.traverse(new NodeVisitor() { @Override public void head(Node node, int i) { } @Override public void tail(Node node, int i) {
java html jsoup
Sergio serra
source share