[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How count the Table cell (Cals Table) using XSL

Subject: How count the Table cell (Cals Table) using XSL
From: "Byomkesh" <bkesh@xxxxxxxxxxxxxxx>
Date: Sat, 24 Jun 2006 16:50:36 +0530
cellpadding in cals table
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.