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

Re: How count the Table cell (Cals Table) using XSL

Subject: Re: How count the Table cell (Cals Table) using XSL
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Tue, 27 Jun 2006 13:13:16 +0530
cell count errors
Hi Byomkesh,
 I am not getting the error you posted.

XML is (I had to correct a well formdness error):

<table border="0" cellspacing="0" cellpadding="1" width="90%">
<thead>
<tr>
<th valign="top" colspan="3"><b>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>

With the stylesheet I posted, I am getting output:

java net.sf.saxon.Transform bk.xml bk.xsl
<?xml version="1.0" encoding="UTF-8"?>
<table>
  <table.html frame="void" width="100%" rules="groups" align="left"/>
  <colgroup>
     <col width="7.14%"/>
     <col width="59.52%"/>
     <col width="33.33%"/>
  </colgroup>
  <thead>
     <tr>
        <th valign="top" colspan="3">
           <b>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>NB#C4</td>
     </tr>
  </tbody>
</table>

I am using Saxon basic version. Are you using Saxon Schema Aware version?

Regards,
Mukul

On 6/27/06, Byomkesh <bkesh@xxxxxxxxxxxxxxx> wrote:
Hi Mukul,

Thanks for your help. But its showing validation Error
<!---
Validation error
 FORG0001: Cannot convert string "" to a double
Transformation failed: Run-time errors were reported

-->

I have using Saxon 8.7.3j. I did not understand this error. Please Sorry
again i am disturb you.

Now what can i do?


Thanks


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.