I used to download the report from our site, it always gives the report in the below format.
<colgroup><col><col><col></colgroup><tbody>
</tbody>
I want the report in the below format.
Every time i need to remove the rows and manipulate the output to get the below output format.
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
Kindly help with this issue
A | B | C |
Class | ||
Subject | Maths | |
Mark details | ||
Semester I | Semester II | Semester III |
10 | 30 | 50 |
50 | 25 | 100 |
100 | 20 | 40 |
Class | ||
Subject | Science | |
Mark details | ||
Semester I | Semester II | Semester III |
10 | 30 | 50 |
100 | 20 | 40 |
50 | 25 | 100 |
<colgroup><col><col><col></colgroup><tbody>
</tbody>
I want the report in the below format.
Every time i need to remove the rows and manipulate the output to get the below output format.
Subject | Semester I | Semester II | Semester III |
Maths | 10 | 30 | 50 |
Maths | 50 | 25 | 100 |
Maths | 100 | 20 | 40 |
Science | 10 | 30 | 50 |
Science | 100 | 20 | 40 |
Science | 50 | 25 | 100 |
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
Kindly help with this issue