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