XHTML to DITA transformation ignores <th> tag in table
Posted: Tue Jun 23, 2020 4:25 pm
Hi all,
I am trying to transform an XHTML table to DITA. The DITA output looks fine except for one thing: it omits the table header row. Here is the XHTML:
Any idea what the issue may be?
Thanks!
I am trying to transform an XHTML table to DITA. The DITA output looks fine except for one thing: it omits the table header row. Here is the XHTML:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h2>Country Availability</h2>
<h3>Australia</h3>
<table>
<tbody>
<tr>
<th>A</th>
<th>B</th>
<th>C</th>
</tr>
<tr>
<td>X</td>
<td>Y</td>
<td>Z</td>
</tr>
</tbody>
</table>
</body>
</html>
Thanks!