rowspan problem

Here should go questions about transforming XML with XSLT and FOP.
touch.rajasekar
Posts: 5
Joined: Tue Sep 03, 2013 5:39 pm

rowspan problem

Post 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