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

Re: converting cals table to html using xslt

Subject: Re: converting cals table to html using xslt
From: "Tech Savvy" <tecsavvy@xxxxxxxxx>
Date: Thu, 4 May 2006 09:55:44 -0500
cals table xslt
Hi:

I did look at the archive and at all the examples. I am actually
having a hard time  implementing the cals table solution.

Here is what I need to do:
1) I have a table which is in cals table format:

<table>
<tgroup cols="5">
<colspec colname="c1" colwidth="1.35in">
</colspec>
<colspec colname="c2" colwidth="1in">
</colspec>
<colspec colname="c3" colwidth="0.75in">
</colspec>
<colspec colname="c4" colwidth="1in">
</colspec>
<colspec colname="c5" colwidth="0.9in">
</colspec>
<tbody>
    <row>
         <entry nameend="4" namest="c3">
                  <text>
                             <para> Text1 </para>
                   </text>
         </entry>
    </row>
</tbody>
</tgroup>
</table>

I need a style sheet (xslt and xslfo) in which
1)the <td> width is set to the colwidth of cals table and
2) I need to know how to handle nameest and nameend on the style
sheet. My understanding is that this defines the col span. Is that a
correct understanding? If so, the "text1" should span two columns.

Any suggestions?
Thank you

On 5/3/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
Have you tried googling for "XSLT CALS HTML conversion"?

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Tech Savvy [mailto:tecsavvy@xxxxxxxxx]
> Sent: 03 May 2006 21:27
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  converting cals table to html using xslt
>
> Hi:
>
> I need help in converting a table which is in CALS fomat into
> HTML format using xslt and xslfo -that is for both HTML
> rendering and PDF rendering.
>
> Can anyone help me in this?
>
> Thanks

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.