+++ /dev/null
-<?xml version="1.0"?>\r
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslthl="http://xslthl.sf.net" exclude-result-prefixes="xslthl" version="1.0">\r
- <!-- ********************************************************************\r
- $Id: highlight.xsl 8911 2010-09-28 17:02:06Z abdelazer $\r
- ********************************************************************\r
-\r
- This file is part of the XSL DocBook Stylesheet distribution.\r
- See ../README or http://docbook.sf.net/release/xsl/current/ for\r
- and other information.\r
-\r
- ******************************************************************** -->\r
- <xsl:import href="../highlighting/common.xsl"/>\r
- <xsl:template match="xslthl:keyword" mode="xslthl">\r
- <strong class="hl-keyword">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </strong>\r
- </xsl:template>\r
- <xsl:template match="xslthl:string" mode="xslthl">\r
- <strong class="hl-string">\r
- <em style="color:red">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </em>\r
- </strong>\r
- </xsl:template>\r
- <xsl:template match="xslthl:comment" mode="xslthl">\r
- <em class="hl-comment" style="color: silver">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </em>\r
- </xsl:template>\r
- <xsl:template match="xslthl:directive" mode="xslthl">\r
- <span class="hl-directive" style="color: maroon">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </span>\r
- </xsl:template>\r
- <xsl:template match="xslthl:tag" mode="xslthl">\r
- <strong class="hl-tag" style="color: #000096">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </strong>\r
- </xsl:template>\r
- <xsl:template match="xslthl:attribute" mode="xslthl">\r
- <span class="hl-attribute" style="color: #F5844C">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </span>\r
- </xsl:template>\r
- <xsl:template match="xslthl:value" mode="xslthl">\r
- <span class="hl-value" style="color: #993300">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </span>\r
- </xsl:template>\r
- <xsl:template match="xslthl:html" mode="xslthl">\r
- <strong>\r
- <em style="color: red">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </em>\r
- </strong>\r
- </xsl:template>\r
- <xsl:template match="xslthl:xslt" mode="xslthl">\r
- <strong style="color: #0066FF">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </strong>\r
- </xsl:template>\r
- <!-- Not emitted since XSLTHL 2.0 -->\r
- <xsl:template match="xslthl:section" mode="xslthl">\r
- <strong>\r
- <xsl:apply-templates mode="xslthl"/>\r
- </strong>\r
- </xsl:template>\r
- <xsl:template match="xslthl:number" mode="xslthl">\r
- <span class="hl-number">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </span>\r
- </xsl:template>\r
- <xsl:template match="xslthl:annotation" mode="xslthl">\r
- <em>\r
- <span class="hl-annotation" style="color: gray">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </span>\r
- </em>\r
- </xsl:template>\r
- <!-- Not sure which element will be in final XSLTHL 2.0 -->\r
- <xsl:template match="xslthl:doccomment|xslthl:doctype" mode="xslthl">\r
- <strong class="hl-tag" style="color: blue">\r
- <xsl:apply-templates mode="xslthl"/>\r
- </strong>\r
- </xsl:template>\r
-</xsl:stylesheet>\r