Add partially complete syntax highlighting to the HV1 transform.
[pub/USBasp.git] / LUFA / StudioIntegration / HV1 / lufa_hv1_transform.xslt
1 <!--
2 LUFA Library
3 Copyright (C) Dean Camera, 2013.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7 -->
8
9 <!-- Docbook XML to Microsoft Help Viewer 1.0 transform file -->
10
11 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
12
13 <xsl:import href="../Docbook/mshelp/docbook.xsl"/>
14
15 <xsl:output method="xml" indent="no"/>
16
17 <!--
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/>
21 </span>
22 </xsl:template>
23
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/>
27 </span>
28 </xsl:template>
29
30 <xsl:template match="emphasis[@role = 'comment']">
31 <span class="hl-comment" style="color: #008000; display:inline-block">
32 <xsl:apply-templates/>
33 </span>
34 </xsl:template>
35
36 <xsl:template match="emphasis[@role = 'preprocessor']">
37 <span class="hl-preprocessor" style="color: #A000A0; display:inline-block">
38 <xsl:apply-templates/>
39 </span>
40 </xsl:template>
41
42 <xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
43 <span>
44 <xsl:apply-templates/>
45 </span>
46 </xsl:template>
47 -->
48
49 </xsl:stylesheet>