Here's what I did:
- Edit the map2htmltoc.xsl file in the "xsl" folder of the DITA Open Toolkit.
- Find the line containing </head> that ends the HTML header in the generated file, and add the following line just above it:
<link rel="stylesheet" href="myCSS.css"></link>
- Edit any other of the HTML tags you find spread about the place: I removed the OL tags and changed all LIs to Ps.
- At the bottom of the file, I added the following template to output any text in TOPICHEAD elements of the DITAMAP (navtitle attribute):
<xsl:template match="//topichead">
<xsl:element name="h2">
<xsl:attribute name="class">topichead</xsl:attribute>
<xsl:value-of select="@navtitle" />
</xsl:element><xsl:value-of select="$newline"/>
No comments:
Post a Comment