1 | <?xml version="1.0" encoding="US-ASCII"?>
|
---|
2 | <!--This file was created automatically by xsl2profile-->
|
---|
3 | <!--from the DocBook XSL stylesheets.-->
|
---|
4 | <!--This file was created automatically by html2xhtml-->
|
---|
5 | <!--from the HTML stylesheets.-->
|
---|
6 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" xmlns:exslt="http://exslt.org/common" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="exsl exslt">
|
---|
7 |
|
---|
8 | <!-- ********************************************************************
|
---|
9 | $Id: chunk.xsl 6910 2007-06-28 23:23:30Z xmldoc $
|
---|
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 | copyright and other information.
|
---|
15 |
|
---|
16 | ******************************************************************** -->
|
---|
17 |
|
---|
18 | <!-- ==================================================================== -->
|
---|
19 |
|
---|
20 | <!-- First import the non-chunking templates that format elements
|
---|
21 | within each chunk file. In a customization, you should
|
---|
22 | create a separate non-chunking customization layer such
|
---|
23 | as mydocbook.xsl that imports the original docbook.xsl and
|
---|
24 | customizes any presentation templates. Then your chunking
|
---|
25 | customization should import mydocbook.xsl instead of
|
---|
26 | docbook.xsl. -->
|
---|
27 | <xsl:import href="docbook-no-doctype.xsl"/>
|
---|
28 |
|
---|
29 | <!-- chunk-common.xsl contains all the named templates for chunking.
|
---|
30 | In a customization file, you import chunk-common.xsl, then
|
---|
31 | add any customized chunking templates of the same name.
|
---|
32 | They will have import precedence over the original
|
---|
33 | chunking templates in chunk-common.xsl. -->
|
---|
34 | <xsl:import href="chunk-common.xsl"/>
|
---|
35 |
|
---|
36 | <!-- The manifest.xsl module is no longer imported because its
|
---|
37 | templates were moved into chunk-common and chunk-code -->
|
---|
38 |
|
---|
39 | <!-- chunk-code.xsl contains all the chunking templates that use
|
---|
40 | a match attribute. In a customization it should be referenced
|
---|
41 | using <xsl:include> instead of <xsl:import>, and then add
|
---|
42 | any customized chunking templates with match attributes. But be sure
|
---|
43 | to add a priority="1" to such customized templates to resolve
|
---|
44 | its conflict with the original, since they have the
|
---|
45 | same import precedence.
|
---|
46 |
|
---|
47 | Using xsl:include prevents adding another layer
|
---|
48 | of import precedence, which would cause any
|
---|
49 | customizations that use xsl:apply-imports to wrongly
|
---|
50 | apply the chunking version instead of the original
|
---|
51 | non-chunking version to format an element. -->
|
---|
52 | <xsl:include href="chunk-code.xsl"/>
|
---|
53 |
|
---|
54 | </xsl:stylesheet>
|
---|