1 <?xml version="1.0" encoding="ASCII"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:d="http://docbook.org/ns/docbook"
4 xmlns:exsl="http://exslt.org/common"
5 xmlns="http://www.w3.org/1999/xhtml"
7 exclude-result-prefixes="exsl d">
9 <!-- ********************************************************************
11 This file is part of the XSL DocBook Stylesheet distribution.
12 See ../README or http://cdn.docbook.org/release/xsl/current/ for
13 copyright and other information.
15 ******************************************************************** -->
17 <!-- ==================================================================== -->
19 <!-- First import the non-chunking templates that format elements
20 within each chunk file. In a customization, you should
21 create a separate non-chunking customization layer such
22 as mydocbook.xsl that imports the original docbook.xsl and
23 customizes any presentation templates. Then your chunking
24 customization should import mydocbook.xsl instead of
26 <xsl:import href="docbook.xsl"/>
28 <!-- chunk-common.xsl contains all the named templates for chunking.
29 In a customization file, you import chunk-common.xsl, then
30 add any customized chunking templates of the same name.
31 They will have import precedence over the original
32 chunking templates in chunk-common.xsl. -->
33 <xsl:import href="../xhtml/chunk-common.xsl"/>
35 <!-- The manifest.xsl module is no longer imported because its
36 templates were moved into chunk-common and chunk-code -->
38 <!-- chunk-code.xsl contains all the chunking templates that use
39 a match attribute. In a customization it should be referenced
40 using <xsl:include> instead of <xsl:import>, and then add
41 any customized chunking templates with match attributes. But be sure
42 to add a priority="1" to such customized templates to resolve
43 its conflict with the original, since they have the
44 same import precedence.
46 Using xsl:include prevents adding another layer
47 of import precedence, which would cause any
48 customizations that use xsl:apply-imports to wrongly
49 apply the chunking version instead of the original
50 non-chunking version to format an element. -->
51 <xsl:include href="../xhtml/profile-chunk-code.xsl"/>
53 <xsl:include href="html5-chunk-mods.xsl"/>