source: clfs-sysroot/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/highlight.xsl@ 708835f

Last change on this file since 708835f was a18aefd, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added lfs-xsl stylesheets.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[a18aefd]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.