Re: [Htmlparser-user] How to extract table without a nested table in it
Brought to you by:
derrickoswald
|
From: Derrick O. <der...@ro...> - 2008-05-22 13:14:28
|
You probably catch these because the inner tables are not direct children of the outer table.
You need the HasChildFilter (NodeFilter filter, boolean recursive) constructor with recursive set to true.
----- Original Message ----
From: answers solutions <fas...@gm...>
To: htm...@li...
Sent: Thursday, May 22, 2008 5:36:00 AM
Subject: [Htmlparser-user] How to extract table without a nested table in it
Hi
i am strututre like to extract a table so that it doesnot have nested table inside it .
nodefilter filtertable = new AndFilter( new HasParentFilter(new TagNameFilter("table"),new NotFilter(new HasChildFilter(new TagNameFilter("table)));
still the o/p i see a table with nested table in it . |