Because the DITA output is broken, I'm experimenting with the "clean" XHTML output to see if it will work as source files to give to our partner. (Never mind that XHTML is deprecated and my initial looks at a few of the output files suggest the code is far from "clean.") The TOC has some of the oddest code I've every seen. The biggest problem is that the TOC structure is not maintained. I mean, there's no option in the target's settings like there is in some others to define how a TOC should look, but even without it, because you define a TOC to use, the default should be better than just a flat one-level list.
Oh, but ti gets better. The is a sample of the code for one element in that list:
Code: Select all
<table style="width: 100%;" cellspacing="0" cellpadding="0" class="GenTOCTable1">
<col style="width: 0pt;" />
<col />
<col style="width: 10pt;" />
<col style="width: 0.2in;" />
<tr>
<td class="mcReset" />
<td class="GenTOCText1"><a class="GenTOCText1" href="introduction/introduction_to_dmarc.htm">Introduction</a>
</td>
<td class="GenTOCPageText1">
<MadCap:xref class="TOCPageNumber" xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd"> </MadCap:xref>
</td>
<td class="mcReset" />
</tr>
</table>