Subject: Re: How count the Table cell (Cals Table) using XSL
From: "Byomkesh" <bkesh@xxxxxxxxxxxxxxx>
Date: Tue, 27 Jun 2006 13:57:23 +0530
|
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.mukul@xxxxxxxxx>
To: "Byomkesh" <bkesh@xxxxxxxxxxxxxxx>
Cc: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, June 27, 2006 1:13 PM
Subject: Re: 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>✓</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
>
----------------------------------------------------------------------------
----
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
|