HTML rendering of colsep and rowsep

Oxygen general issues.
Rodrik
Posts: 30
Joined: Mon Jan 27, 2014 11:19 am

HTML rendering of colsep and rowsep

Post by Rodrik »

The rowsep and colsep settings do not seem to have any effect on the XHTML and WebHelp output. For instance, when the following table is rendered to PDF the single cell "Row 2B" has borders but in the HTML output all the cells have separators:

Code: Select all

<table frame="none" id="table_an4_fzp_hn">
<title>CALS table with one cell’s borders set</title>
<tgroup cols="3">
<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>
<colspec colname="c3" colnum="3" colwidth="1.0*"/>
<thead>
<row>
<entry>Heading A</entry>
<entry>Heading B</entry>
<entry>Heading C</entry>
</row>
</thead>
<tbody>
<row>
<entry>Row 1A</entry>
<entry rowsep="1">Row 1B</entry>
<entry>Row 1C</entry>
</row>
<row>
<entry colsep="1">Row 2A</entry>
<entry rowsep="1" colsep="1">Row 2B</entry>
<entry>Row 2C</entry>
</row>
<row>
<entry>Row 3A</entry>
<entry>Row 3B</entry>
<entry>Row 3C</entry>
</row>
</tbody>
</tgroup>
</table>
Is this a known issue, or am I doing something wrong? I’m raising the issue here first because I noticed that the file ..\Oxygen XML Editor 15\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl (which I assume is the one responsible for the bulk of the HTML transformation) has a number of Oxygen patches, so I thought it might to be a general Open Toolkit issue..
Regards
Rodrik
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: HTML rendering of colsep and rowsep

Post by sorin_ristache »

Hello,

The rowsep and colsep attributes set in a table are not handled correctly in DITA transformations. It is a known problem that was not fixed yet for DITA transformations. If you want to try to customize the DITA XHTML transformation for that, the XSLT stylesheets are located in directory:

Code: Select all

[Oxygen-install-dir]\frameworks\dita\DITA-OT\xsl

Regards,
Sorin
Rodrik
Posts: 30
Joined: Mon Jan 27, 2014 11:19 am

Re: HTML rendering of colsep and rowsep

Post by Rodrik »

Thanks, Sorin. I guess I'll live with it for now.

Regards

Rodrik
Post Reply