source: BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/highlight.xsl@ 9bd2691

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

Added LFS XSL Stylesheets.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 xmlns:xslthl="http://xslthl.sf.net"
5 exclude-result-prefixes="xslthl"
6 version='1.0'>
7
8<!-- ********************************************************************
9 $Id$
10 ********************************************************************
11
12 This file is part of the XSL DocBook Stylesheet distribution.
13 See ../README or http://docbook.sf.net/release/xsl/current/ for
14 and other information.
15
16 ******************************************************************** -->
17
18<xsl:template match='xslthl:keyword'>
19 <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
20</xsl:template>
21
22<xsl:template match='xslthl:string'>
23 <fo:inline font-weight="bold" font-style="italic"><xsl:apply-templates/></fo:inline>
24</xsl:template>
25
26<xsl:template match='xslthl:comment'>
27 <fo:inline font-style="italic"><xsl:apply-templates/></fo:inline>
28</xsl:template>
29
30<xsl:template match='xslthl:tag'>
31 <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
32</xsl:template>
33
34<xsl:template match='xslthl:attribute'>
35 <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
36</xsl:template>
37
38<xsl:template match='xslthl:value'>
39 <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
40</xsl:template>
41
42<!--
43<xsl:template match='xslthl:html'>
44 <span style='background:#AFF'><font color='blue'><xsl:apply-templates/></font></span>
45</xsl:template>
46
47<xsl:template match='xslthl:xslt'>
48 <span style='background:#AAA'><font color='blue'><xsl:apply-templates/></font></span>
49</xsl:template>
50
51<xsl:template match='xslthl:section'>
52 <span style='background:yellow'><xsl:apply-templates/></span>
53</xsl:template>
54-->
55
56</xsl:stylesheet>
57
Note: See TracBrowser for help on using the repository browser.