}
}
}
NodeConfig config = node.getConfig();
if(config.children().length > 0 || config.children_types().length > 0){
Iterator<HTMLNode> iter = node.childIterator();//node.getChildren().iterator();
while(iter.hasNext()){
HTMLNode child = iter.next();
if(HTML.isChild(node, child.getConfig())) continue;
iter.remove();