[xsl] How count the Table cell (Cals Table) using XSL

Subject: [xsl] How count the Table cell (Cals Table) using XSL
From: "Byomkesh" <bkesh@xxxxxxxxxxxxxxx>
Date: Sat, 24 Jun 2006 16:50:36 +0530
Dear All,

I have one xml file. I want count cell and divide percentage in between cell
(through XSL). Please any one help me.

XML File
-------------

<table border="0" cellspacing="0" cellpadding="1" width="90%">
<thead>
<tr>
<th valign="top" colspan="3">Table 1.1 802.11b Channels</b></th>
</tr>
<tr>
<th>Channel Number</th>
<th>Center Frequency (in GHz)</th>
<th>USA</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2.412</td>
<td>&#x2713;</td>
</tr>
</tbody>
</table>

I want OutPut
-----------------

<table>
<table.html frame="void" width="100%" rules="groups" align="left">
<colgroup>
<col width="50%"/>
<col width="30%"/>
<col width="20%"/>
</colgroup>
<!-- Rest of the taging as it is -->
<thead>
<tr>
<th valign="top" colspan="3">Table 1.1 802.11b Channels</b></th>
</tr>
<tr>
<th>Channel Number</th>
<th>Center Frequency (in GHz)</th>
<th>USA</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2.412</td>
<td>&#x2713;</td>
</tr>
</tbody>
</table>

Regards,

Byomkesh

Current Thread