source: clfs-sysroot/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl@ 79e00fc

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