DITA topics do not contain headings or sub-headings. So in my failed attempt to produce DITA output, I conditionalized my h1 blocks in my topics to be excluded. And in an attempt to find an alternative to DITA output, I've been trying to see if any other output types will be acceptable to our partner. And I thought the "clean" XHTML might be an option.
But I was reviewing some of the topics in the output and I found a strange thing in a bulleted list of links: The link text to topics where the h1 was conditionalized out was changed to a block of text extracted from that linked topic. It seems that the extracted text was either the first heading-level block or the first block period.
For example, here is the original source code:
Code: Select all
<li>
<MadCap:xref href="View_Alerts.htm">View Alerts</MadCap:xref>
</li>
Code: Select all
<li value="1"><a href="view_alerts.html" class="MCXref_0">Filter the Alerts List</a>
</li>
Here's another sample of original source:
Code: Select all
<li>
<MadCap:xref href="Subscribe_to_Alerts.htm">Subscribe to Alerts</MadCap:xref>
</li>
Code: Select all
<li value="2"><a href="subscribe_to_alerts.html" class="MCXref_0">As an alternative to viewing alerts in Domain Protection, you can subscribe to any alert type. A subscription to an alert type will sent you an email whenever an alert is triggered of that alert type with the contents of the alert.</a>
</li>
Never mind that the code is badly formatted or that a value attribue has been added (what's the deal with that, BTW?), what the heck is going on here?