source: BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk.xsl@ 834692e

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

Added LFS XSL Stylesheets.

  • Property mode set to 100644
File size: 2.4 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:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl">
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 copyright and other information.
13
14 ******************************************************************** -->
15
16<!-- ==================================================================== -->
17
18<!-- First import the non-chunking templates that format elements
19 within each chunk file. In a customization, you should
20 create a separate non-chunking customization layer such
21 as mydocbook.xsl that imports the original docbook.xsl and
22 customizes any presentation templates. Then your chunking
23 customization should import mydocbook.xsl instead of
24 docbook.xsl. -->
25<xsl:import href="docbook.xsl"/>
26
27<!-- chunk-common.xsl contains all the named templates for chunking.
28 In a customization file, you import chunk-common.xsl, then
29 add any customized chunking templates of the same name.
30 They will have import precedence over the original
31 chunking templates in chunk-common.xsl. -->
32<xsl:import href="chunk-common.xsl"/>
33
34<!-- The manifest.xsl module is no longer imported because its
35 templates were moved into chunk-common and chunk-code -->
36
37<!-- chunk-code.xsl contains all the chunking templates that use
38 a match attribute. In a customization it should be referenced
39 using <xsl:include> instead of <xsl:import>, and then add
40 any customized chunking templates with match attributes. But be sure
41 to add a priority="1" to such customized templates to resolve
42 its conflict with the original, since they have the
43 same import precedence.
44
45 Using xsl:include prevents adding another layer
46 of import precedence, which would cause any
47 customizations that use xsl:apply-imports to wrongly
48 apply the chunking version instead of the original
49 non-chunking version to format an element. -->
50<xsl:include href="chunk-code.xsl"/>
51
52</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.