]> git.gir.st - tmk_keyboard.git/blob - tmk_core/protocol/lufa/LUFA-git/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt
Merge commit 'f6d56675f9f981c5464f0ca7a1fbb0162154e8c5'
[tmk_keyboard.git] / tmk_core / protocol / lufa / LUFA-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 <xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']">
18 <span class="hl-keyword" style="color: #0079C1">
19 <xsl:apply-templates/>
20 </span>
21 </xsl:template>
22
23 <xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']">
24 <span class="hl-string" style="color: #800000">
25 <xsl:apply-templates/>
26 </span>
27 </xsl:template>
28
29 <xsl:template match="emphasis[@role = 'comment']">
30 <em class="hl-comment" style="color: #008000">
31 <xsl:apply-templates/>
32 </em>
33 </xsl:template>
34
35 <xsl:template match="emphasis[@role = 'preprocessor']">
36 <span class="hl-preprocessor" style="color: #A000A0">
37 <xsl:apply-templates/>
38 </span>
39 </xsl:template>
40
41 <xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
42 <xsl:apply-templates />
43 </xsl:template>
44
45 </xsl:stylesheet>
Imprint / Impressum