Re: converting cals table to html using xslt
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"?
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format