1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslthl="http://xslthl.sf.net" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xslthl" version="1.0">
6 <!-- ********************************************************************
7 $Id: highlight.xsl 8419 2009-04-29 20:37:52Z kosek $
8 ********************************************************************
10 This file is part of the XSL DocBook Stylesheet distribution.
11 See ../README or http://docbook.sf.net/release/xsl/current/ for
12 and other information.
14 ******************************************************************** -->
16 <xsl:import href="../highlighting/common.xsl"/>
18 <xsl:template match="xslthl:keyword" mode="xslthl">
19 <b class="hl-keyword"><xsl:apply-templates mode="xslthl"/></b>
22 <xsl:template match="xslthl:string" mode="xslthl">
23 <b class="hl-string"><i style="color:red"><xsl:apply-templates mode="xslthl"/></i></b>
26 <xsl:template match="xslthl:comment" mode="xslthl">
27 <i class="hl-comment" style="color: silver"><xsl:apply-templates mode="xslthl"/></i>
30 <xsl:template match="xslthl:directive" mode="xslthl">
31 <span class="hl-directive" style="color: maroon"><xsl:apply-templates mode="xslthl"/></span>
34 <xsl:template match="xslthl:tag" mode="xslthl">
35 <b class="hl-tag" style="color: #000096"><xsl:apply-templates mode="xslthl"/></b>
38 <xsl:template match="xslthl:attribute" mode="xslthl">
39 <span class="hl-attribute" style="color: #F5844C"><xsl:apply-templates mode="xslthl"/></span>
42 <xsl:template match="xslthl:value" mode="xslthl">
43 <span class="hl-value" style="color: #993300"><xsl:apply-templates mode="xslthl"/></span>
46 <xsl:template match="xslthl:html" mode="xslthl">
47 <b><i style="color: red"><xsl:apply-templates mode="xslthl"/></i></b>
50 <xsl:template match="xslthl:xslt" mode="xslthl">
51 <b style="color: #0066FF"><xsl:apply-templates mode="xslthl"/></b>
54 <!-- Not emitted since XSLTHL 2.0 -->
55 <xsl:template match="xslthl:section" mode="xslthl">
56 <b><xsl:apply-templates mode="xslthl"/></b>
59 <xsl:template match="xslthl:number" mode="xslthl">
60 <span class="hl-number"><xsl:apply-templates mode="xslthl"/></span>
63 <xsl:template match="xslthl:annotation" mode="xslthl">
64 <i><span class="hl-annotation" style="color: gray"><xsl:apply-templates mode="xslthl"/></span></i>
67 <!-- Not sure which element will be in final XSLTHL 2.0 -->
68 <xsl:template match="xslthl:doccomment|xslthl:doctype" mode="xslthl">
69 <b class="hl-tag" style="color: blue"><xsl:apply-templates mode="xslthl"/></b>