Debian Codegraph @

doc/docbook-xsl/html/highlight.xsl

raw
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:xslthl="http://xslthl.sf.net"
4 exclude-result-prefixes="xslthl"
5 version='1.0'>
6
7 <!-- ********************************************************************
8 $Id$
9 ********************************************************************
10
11 This file is part of the XSL DocBook Stylesheet distribution.
12 See ../README or http://nwalsh.com/docbook/xsl/ for copyright
13 and other information.
14
15 ******************************************************************** -->
16
17 <xsl:template match='xslthl:keyword'>
18 <b class="hl-keyword"><xsl:apply-templates/></b>
19 </xsl:template>
20
21 <xsl:template match='xslthl:string'>
22 <b class="hl-string"><i><font color='red'><xsl:apply-templates/></font></i></b>
23 </xsl:template>
24
25 <xsl:template match='xslthl:comment'>
26 <i class="hl-comment"><font color='silver'><xsl:apply-templates/></font></i>
27 </xsl:template>
28
29 <xsl:template match='xslthl:tag'>
30 <b class="hl-tag"><font color='blue'><xsl:apply-templates/></font></b>
31 </xsl:template>
32
33 <xsl:template match='xslthl:attribute'>
34 <span class="hl-attribute"><font color='blue'><xsl:apply-templates/></font></span>
35 </xsl:template>
36
37 <xsl:template match='xslthl:value'>
38 <span class="hl-value"><font color='blue'><xsl:apply-templates/></font></span>
39 </xsl:template>
40
41 <xsl:template match='xslthl:html'>
42 <b><i><font color='red'><xsl:apply-templates/></font></i></b>
43 </xsl:template>
44
45 <xsl:template match='xslthl:xslt'>
46 <b><font color='blue'><xsl:apply-templates/></font></b>
47 </xsl:template>
48
49 <xsl:template match='xslthl:section'>
50 <b><xsl:apply-templates/></b>
51 </xsl:template>
52
53
54 </xsl:stylesheet>
55