xsl-list
[Top] [All Lists]

Re: [xsl] converting cals table to html using xslt

2006-05-04 07:56:37
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(_at_)saxonica(_dot_)com> wrote:
Have you tried googling for "XSLT CALS HTML conversion"?

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

> -----Original Message-----
> From: Tech Savvy [mailto:tecsavvy(_at_)gmail(_dot_)com]
> Sent: 03 May 2006 21:27
> To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
> Subject: [xsl] 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
>
> --~------------------------------------------------------------------
> 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>
> --~--
>


--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--