source: BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl@ 7e3b152

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7e3b152 was d7c9f58, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated DocBook-XSL code to version 1.73.2

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[f8c4e94]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">
5
6<!-- ********************************************************************
7 $Id$
8 ********************************************************************
9
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.
13
14 ******************************************************************** -->
15
16<xsl:template match="xslthl:keyword">
17 <b class="hl-keyword"><xsl:apply-templates/></b>
18</xsl:template>
19
20<xsl:template match="xslthl:string">
[d7c9f58]21 <b class="hl-string"><i style="color:red"><xsl:apply-templates/></i></b>
[f8c4e94]22</xsl:template>
23
24<xsl:template match="xslthl:comment">
[d7c9f58]25 <i class="hl-comment" style="color: silver"><xsl:apply-templates/></i>
[f8c4e94]26</xsl:template>
27
28<xsl:template match="xslthl:tag">
[d7c9f58]29 <b class="hl-tag" style="color: blue"><xsl:apply-templates/></b>
[f8c4e94]30</xsl:template>
31
32<xsl:template match="xslthl:attribute">
[d7c9f58]33 <span class="hl-attribute" style="color: blue"><xsl:apply-templates/></span>
[f8c4e94]34</xsl:template>
35
36<xsl:template match="xslthl:value">
[d7c9f58]37 <span class="hl-value" style="color: blue"><xsl:apply-templates/></span>
[f8c4e94]38</xsl:template>
39
40<xsl:template match="xslthl:html">
[d7c9f58]41 <b><i style="color: red"><xsl:apply-templates/></i></b>
[f8c4e94]42</xsl:template>
43
44<xsl:template match="xslthl:xslt">
[d7c9f58]45 <b style="color: blue"><xsl:apply-templates/></b>
[f8c4e94]46</xsl:template>
47
48<xsl:template match="xslthl:section">
49 <b><xsl:apply-templates/></b>
50</xsl:template>
51
52</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.