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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a4819ed 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
Line 
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">
21 <b class="hl-string"><i style="color:red"><xsl:apply-templates/></i></b>
22</xsl:template>
23
24<xsl:template match="xslthl:comment">
25 <i class="hl-comment" style="color: silver"><xsl:apply-templates/></i>
26</xsl:template>
27
28<xsl:template match="xslthl:tag">
29 <b class="hl-tag" style="color: blue"><xsl:apply-templates/></b>
30</xsl:template>
31
32<xsl:template match="xslthl:attribute">
33 <span class="hl-attribute" style="color: blue"><xsl:apply-templates/></span>
34</xsl:template>
35
36<xsl:template match="xslthl:value">
37 <span class="hl-value" style="color: blue"><xsl:apply-templates/></span>
38</xsl:template>
39
40<xsl:template match="xslthl:html">
41 <b><i style="color: red"><xsl:apply-templates/></i></b>
42</xsl:template>
43
44<xsl:template match="xslthl:xslt">
45 <b style="color: blue"><xsl:apply-templates/></b>
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.