| 1 | <?xml version="1.0" encoding="US-ASCII"?>
|
|---|
| 2 | <!--This file was created automatically by html2xhtml-->
|
|---|
| 3 | <!--from the HTML stylesheets. Do not edit this file.-->
|
|---|
| 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: chunk.xsl,v 1.30 2003/11/30 19:42:23 bobstayton Exp $
|
|---|
| 8 | ********************************************************************
|
|---|
| 9 |
|
|---|
| 10 | This file is part of the XSL DocBook Stylesheet distribution.
|
|---|
| 11 | See ../README or http://nwalsh.com/docbook/xsl/ for copyright
|
|---|
| 12 | and other information.
|
|---|
| 13 |
|
|---|
| 14 | ******************************************************************** -->
|
|---|
| 15 |
|
|---|
| 16 | <!-- ==================================================================== -->
|
|---|
| 17 |
|
|---|
| 18 | <xsl:import href="docbook.xsl"/>
|
|---|
| 19 | <xsl:import href="chunk-common.xsl"/>
|
|---|
| 20 | <xsl:include href="manifest.xsl"/>
|
|---|
| 21 |
|
|---|
| 22 | <!-- Why is chunk-code now xsl:included?
|
|---|
| 23 |
|
|---|
| 24 | Suppose you want to customize *both* the chunking algorithm used *and* the
|
|---|
| 25 | presentation of some elements that may be chunks. In order to do that, you
|
|---|
| 26 | must get the order of imports "just right". The answer is to make your own
|
|---|
| 27 | copy of this file, where you replace the initial import of "docbook.xsl"
|
|---|
| 28 | with an import of your own base.xsl (that does its own import of docbook.xsl).
|
|---|
| 29 |
|
|---|
| 30 | Put the templates for changing the presentation of elements in your base.xsl.
|
|---|
| 31 |
|
|---|
| 32 | Put the templates that control chunking after the include of chunk-code.xsl.
|
|---|
| 33 |
|
|---|
| 34 | Voila! (Man I hope we can do this better in XSLT 2.0)
|
|---|
| 35 |
|
|---|
| 36 | -->
|
|---|
| 37 |
|
|---|
| 38 | <xsl:include href="chunk-code.xsl"/>
|
|---|
| 39 |
|
|---|
| 40 | </xsl:stylesheet>
|
|---|