1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
3
This program is free software; you can redistribute it and/or modify it under
4
the terms of the GNU Lesser General Public License as published by the Free
5
Software Foundation; either version 2 of the License, or (at your option) any
8
This program is distributed in the hope that it will be useful, but WITHOUT
9
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
You should have received a copy of the GNU Lesser General Public License
14
along with this program; see the file COPYING.LGPL. If not, write to the
15
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22
<xsl:output method="text" encoding="utf-8"/>
24
<xsl:include href="../common/db-chunk.xsl"/>
25
<xsl:include href="../common/db-xref.xsl"/>
27
<xsl:template match="/">
29
<xsl:with-param name="depth_of_chunk" select="0"/>
30
</xsl:apply-templates>
34
appendix | article | bibliography | book |
35
chatper | colophon | dedication | glossary |
36
glossdiv | index | lot | part |
37
preface | refentry | reference | sect1 |
38
sect2 | sect3 | sect4 | sect5 |
39
section | setindex | simplesect | toc ">
40
<xsl:param name="depth_of_chunk" select="0"/>
41
<xsl:call-template name="db.xref.target">
42
<xsl:with-param name="linkend" select="@id"/>
43
<xsl:with-param name="target" select="."/>
45
<xsl:text>
</xsl:text>
47
<xsl:if test="$depth_of_chunk < $db.chunk.max_depth">
49
<xsl:with-param name="depth_of_chunk"
50
select="$depth_of_chunk + 1"/>
51
</xsl:apply-templates>
55
<xsl:template match="node()"/>