diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kdoctools/docbook/xsl/html/profile-chunk.xsl | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/html/profile-chunk.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/html/profile-chunk.xsl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/html/profile-chunk.xsl b/kdoctools/docbook/xsl/html/profile-chunk.xsl new file mode 100644 index 000000000..918c7ba57 --- /dev/null +++ b/kdoctools/docbook/xsl/html/profile-chunk.xsl @@ -0,0 +1,40 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> + +<!-- ******************************************************************** + $Id$ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://nwalsh.com/docbook/xsl/ for copyright + and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:import href="docbook.xsl"/> +<xsl:import href="chunk-common.xsl"/> +<xsl:include href="manifest.xsl"/> + +<!-- Why is chunk-code now xsl:included? + +Suppose you want to customize *both* the chunking algorithm used *and* the +presentation of some elements that may be chunks. In order to do that, you +must get the order of imports "just right". The answer is to make your own +copy of this file, where you replace the initial import of "docbook.xsl" +with an import of your own base.xsl (that does its own import of docbook.xsl). + +Put the templates for changing the presentation of elements in your base.xsl. + +Put the templates that control chunking after the include of chunk-code.xsl. + +Voila! (Man I hope we can do this better in XSLT 2.0) + +--> + +<xsl:include href="profile-chunk-code.xsl"/> + +</xsl:stylesheet> |