| 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: highlight.xsl 7266 2007-08-22 11:58:42Z xmldoc $ |
| 9 |
******************************************************************** |
| 10 |
|
| 11 |
This file is part of the XSL DocBook Stylesheet distribution. |
| 12 |
See ../README or http://docbook.sf.net/release/xsl/current/ for |
| 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 style="color:red"><xsl:apply-templates/></i></b> |
| 23 |
</xsl:template> |
| 24 |
|
| 25 |
<xsl:template match='xslthl:comment'> |
| 26 |
<i class="hl-comment" style="color: silver"><xsl:apply-templates/></i> |
| 27 |
</xsl:template> |
| 28 |
|
| 29 |
<xsl:template match='xslthl:tag'> |
| 30 |
<b class="hl-tag" style="color: blue"><xsl:apply-templates/></b> |
| 31 |
</xsl:template> |
| 32 |
|
| 33 |
<xsl:template match='xslthl:attribute'> |
| 34 |
<span class="hl-attribute" style="color: blue"><xsl:apply-templates/></span> |
| 35 |
</xsl:template> |
| 36 |
|
| 37 |
<xsl:template match='xslthl:value'> |
| 38 |
<span class="hl-value" style="color: blue"><xsl:apply-templates/></span> |
| 39 |
</xsl:template> |
| 40 |
|
| 41 |
<xsl:template match='xslthl:html'> |
| 42 |
<b><i style="color: red"><xsl:apply-templates/></i></b> |
| 43 |
</xsl:template> |
| 44 |
|
| 45 |
<xsl:template match='xslthl:xslt'> |
| 46 |
<b style="color: blue"><xsl:apply-templates/></b> |
| 47 |
</xsl:template> |
| 48 |
|
| 49 |
<xsl:template match='xslthl:section'> |
| 50 |
<b><xsl:apply-templates/></b> |
| 51 |
</xsl:template> |
| 52 |
|
| 53 |
</xsl:stylesheet> |
| 54 |
|