Page 1 of 1

rowspan problem

Posted: Wed Sep 18, 2013 12:40 pm
by touch.rajasekar
Hi,
We have the spanned the entries to two rows using rowspan attribute, but the output will be rowspan attribute need to be remove and empty tag to be fill in the corresponding columns.

Input:
<tr><td>column 1</td><td rowspan="2">column 2</td><td>column 3</td></tr>
<tr><td rowspan="2">column 1</td><td>column 3</td></tr>
<tr><td>column 2</td><td>column 3</td></tr>

Output:
<tr><td>column 1</td><td>column 2</td><td>column 3</td></tr>
<tr><td>column 1</td><td></td><td>column 3</td></tr>
<tr><td></td><td>column 2</td><td>column 3</td></tr>

Please help me how can i process this in using xslt.

Thanks in Advance
Rajasekar