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