northward
asked on
Removing rowspan
Hi,
I have a table. Eg
Here is a simple table
<table border=1>
<tr>
<td rowspan=2>Mon</td>
<td> </td>
<td rowspan=2>Math</td>
<td>English</td>
</tr>
<tr>
<td>Science</td>
<td> </td>
</tr>
</table>
that I want to convert to excel or csv format.
If it is csv, it should look like this
Mon,,Math,English
Mon,Science,Math,
Note that Mon and Math is repeated twice as they occupied rowspan=2
We may have a file that has up to rowspan=4
I have a table. Eg
Here is a simple table
<table border=1>
<tr>
<td rowspan=2>Mon</td>
<td> </td>
<td rowspan=2>Math</td>
<td>English</td>
</tr>
<tr>
<td>Science</td>
<td> </td>
</tr>
</table>
that I want to convert to excel or csv format.
If it is csv, it should look like this
Mon,,Math,English
Mon,Science,Math,
Note that Mon and Math is repeated twice as they occupied rowspan=2
We may have a file that has up to rowspan=4
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have a slightly more complex question. Could you help me please?
https://www.experts-exchange.com/questions/28078011/Removing-rowspan-and-colspan.html