Re: Teatment of <th> inside HDITA documents
Hussein Shafie <[email protected]> Sun, 18 Aug 2024 09:45:57 +0200
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
On 8/17/24 22:34, Leif Halvard Silli wrote:
>
> The good news is that, as long as the header cells occurs in the first
> column, the hack is not necessary. You can instead just make sure that
> the DITA converter adds <table rowheader="firstcol">
@rowheader reference:
http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part2-tech-content/langRef/attributes/calsTableAttributes.html#oet-atts__rowheader
> whenever the first
> column of the HTML table contains <th> elements.
>
> Hope this made sense.
Yes, it certainly does.
1) Currently rowheader='firstcol' seems to be supported but the <entry>s
found in the first column are translated to <td class="entry
table-header-style">, not to <th>.
---
.table-header-style {
font-weight: bold;
background-color: #E0E0E0;
}
---
2) The HDITA support does not detect the case where all the cells found
in the first column of an XHTML table are <th> and thus does not
generate a CALS table having rowheader='firstcol'.
To be frank, it is unlikely that we'll ever implement the (legit)
enhancement that you suggest. We are not sure that Lightweight DITA is
widely used (if at all) and even if it is, we don't think that HDITA is
its most popular component.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support