222471 HTML to CSV - Java Converter

I'm looking for a simple converter method. The method would take as input an HTML string that contains a table. The table would contain multiple rows and multiple columns. The method would produce as output a proper CSV String. The language must be in Java as I wish to drop it right into my server-side code.

The method only needs to deal with a minimal number of table related tags. These tags are <tr>, <th>, <td>, colspan, rowspan

Example of method:


<table><tr><th>Header 1</th><th>Header 2</th></tr>

<tr><td>Data 1</td><td>Data 2</td></tr>



Header 1, Header 2

Data 1, Data 2

You can assume all HTML passed in will be valid XHTML with close tags for every start tag in the correct order (a </td> for every </td>).

Kemahiran: Semua Boleh, Java

Lihat lagi: html csv java, java html table csv, html table csv java, html csv converter java, m string, java html csv, html string csv java, html csv, language converter, simple csv, java related, html tags, correct csv, converter, all html, java code example, order java, data html data, java html table, java simple example, html order, string html, table csv, html number, java server side

Tentang Majikan:
( 2 ulasan ) Round Rock, United States

ID Projek: #1968706

Dianugerahkan kepada:


Dear Sir, please, see PMB.

$24 USD dalam sehari
(19 Ulasan)