I have tried out the example to extract contain from the table in a document.
I have documents which contain tables but I don’t know the number of tables inside the document and I want to extract content from the tables.
How to find the total number of tables inside the document so I can pass the index paramenter in the following statment dynamically i.e if 1 table then 0 ,if 2 tables then 1 so on…
This is for 1 table.
Table table = (Table) doc1.getChild(NodeType.TABLE, 0, true);
Please help me in this matter.