xsl-list
[Top] [All Lists]

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

2006-06-27 01:19:19
Hi Mukul,

I have using this path through Saxon. Can you suggest me, which
software(XSLT Processor) will be load in better transformation.

D:\Saxon>java -jar saxon8.jar -T d:\Byomkesh\13.xml d:\Byomkesh\g2v.xsl >
d:\Byomkesh\temp.xml


Thanks,

Byomkesh

----- Original Message -----
From: "Mukul Gandhi" <gandhi(_dot_)mukul(_at_)gmail(_dot_)com>
To: "Byomkesh" <bkesh(_at_)eztechgroup(_dot_)net>
Cc: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, June 27, 2006 1:13 PM
Subject: Re: [xsl] How count the Table cell (Cals Table) using XSL


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>Γ£ô</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(_at_)eztechgroup(_dot_)net> 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



----------------------------------------------------------------------------
----


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/376 - Release Date: 6/26/2006


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--