HTML table to Excel
Is there a recommended approach to convert an HTML table containing headers and data into an Excel file/worksheet?
Description: I am tapping into a service that returns HTML table content (no head, body, etc. - pure HTML table content only). I would like to convert the HTML table returned with headers and data in it into an Excel file.
There are a few libraries out there including POI and JExcel that allow creation of Excel file by writing individual elements. Before I delve into writing detailed code to do that, I wanted to see if there are existing libraries or recommended approaches that will keep me writing large sets of code.
(I searched for threads on this topic. Couldn't find any that gave a clear answer to this question. Apologies if this is a repeat of another thread where solution exists - just point me to it if its already solved elsewhere).