3 Copyright (C) Dean Camera, 2013.
5 dean [at] fourwalledcubicle [dot] com
9 <!-- Docbook XML to Microsoft Help Viewer 1.0 transform file -->
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
13 <xsl:import href="../Docbook/mshelp/docbook.xsl"/>
15 <xsl:output method="xml" indent="no"/>
18 <xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']">
19 <span class="hl-keyword" style="color: #0079C1; display:inline-block">
20 <xsl:apply-templates/>
24 <xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']">
25 <span class="hl-string" style="color: #800000; display:inline-block">
26 <xsl:apply-templates/>
30 <xsl:template match="emphasis[@role = 'comment']">
31 <span class="hl-comment" style="color: #008000; display:inline-block">
32 <xsl:apply-templates/>
36 <xsl:template match="emphasis[@role = 'preprocessor']">
37 <span class="hl-preprocessor" style="color: #A000A0; display:inline-block">
38 <xsl:apply-templates/>
42 <xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
44 <xsl:apply-templates/>