2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
3 xmlns:
xslthl=
"http://xslthl.sf.net"
4 exclude-result-prefixes=
"xslthl"
7 <!-- ********************************************************************
8 $Id: highlight.xsl,v 1.1 2007/03/10 05:15:13 scott Exp $
9 ********************************************************************
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.
15 ******************************************************************** -->
17 <xsl:template match='xslthl:keyword'
>
18 <b class=
"hl-keyword"><xsl:apply-templates/></b>
21 <xsl:template match='xslthl:string'
>
22 <b class=
"hl-string"><i><font color='red'
><xsl:apply-templates/></font></i></b>
25 <xsl:template match='xslthl:comment'
>
26 <i class=
"hl-comment"><font color='silver'
><xsl:apply-templates/></font></i>
29 <xsl:template match='xslthl:tag'
>
30 <b class=
"hl-tag"><font color='blue'
><xsl:apply-templates/></font></b>
33 <xsl:template match='xslthl:attribute'
>
34 <span class=
"hl-attribute"><font color='blue'
><xsl:apply-templates/></font></span>
37 <xsl:template match='xslthl:value'
>
38 <span class=
"hl-value"><font color='blue'
><xsl:apply-templates/></font></span>
41 <xsl:template match='xslthl:html'
>
42 <b><i><font color='red'
><xsl:apply-templates/></font></i></b>
45 <xsl:template match='xslthl:xslt'
>
46 <b><font color='blue'
><xsl:apply-templates/></font></b>
49 <xsl:template match='xslthl:section'
>
50 <b><xsl:apply-templates/></b>