This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Broken tables


I have an SGML document I'm converting to xml,
and I'm having trouble with the tables :-)

Each table row, instead of tagging up the cell data,
tags up the seperators!

E.g.

<TABROW><TT>ati</TT><COLSEP>ATI</TABROW>
<TABROW><TT>r128</TT><COLSEP>ATI Rage 128</TABROW>


I'm almost convinced that it has to be a 'broken' solution,
can anyone suggest anything that might be cleaner.

Target is docbook

<table>
 <title>None</title>
 <tgroup cols="2">
  <tbody>
   <row>
    <entry>ati</entry>
    <entry>ATI</entry>
   </row>
   <row>
    <entry>r128</entry>
    <entry>ATI Rage 128</entry>
   </row>
  </tbody>
 </tgroup>
</table>

Fuller example of SGML below.
Any help appreciated.
Regards, DaveP

<TABLE ALIGN="CENTER" BORDER="1">
<TABULAR CA="|l|l|">
<TABROW>Driver Name<COLSEP>
<TABROW>
<TT>apm</TT><COLSEP>Alliance Pro Motion</TABROW>
<TABROW><TT>ati</TT><COLSEP>ATI</TABROW>
<TABROW><TT>chips</TT><COLSEP>Chips &amp; Technologies</TABROW>
<TABROW><TT>cirrus</TT><COLSEP>Cirrus Logic</TABROW>
<TABROW><TT>cyrix</TT> (*)<COLSEP>Cyrix MediaGX</TABROW>
<TABROW><TT>fbdev</TT><COLSEP>Linux fbdev</TABROW>
<TABROW><TT>glide</TT><COLSEP>Glide2x (3Dfx)</TABROW>
<TABROW><TT>glint</TT><COLSEP>3Dlabs, TI</TABROW>
<TABROW><TT>i740</TT><COLSEP>Intel i740</TABROW>
<TABROW><TT>i810</TT><COLSEP>Intel i810</TABROW>
<TABROW><TT>mga</TT><COLSEP>Matrox</TABROW>
<TABROW><TT>neomagic</TT><COLSEP>NeoMagic</TABROW>
<TABROW><TT>nv</TT><COLSEP>NVIDIA</TABROW>
<TABROW><TT>r128</TT><COLSEP>ATI Rage 128</TABROW>
<TABROW><TT>rendition</TT><COLSEP>Rendition</TABROW>
<TABROW><TT>s3virge</TT><COLSEP>S3 ViRGE</TABROW>
<TABROW><TT>sis</TT><COLSEP>SiS</TABROW>
<TABROW><TT>tdfx</TT><COLSEP>3Dfx</TABROW>
<TABROW><TT>tga</TT><COLSEP>DEC TGA</TABROW>
<TABROW><TT>trident</TT><COLSEP>Trident</TABROW>
<TABROW><TT>tseng</TT><COLSEP>Tseng Labs</TABROW>
<TABROW><TT>vga</TT><COLSEP>Generic VGA</TABROW>
</TABULAR>
</TABLE>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]