aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-05-01 14:52:48 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-05-01 14:52:48 +0000
commitd7ca608adbe9add25cc6fec9bba362e24dd4a082 (patch)
treeebff82f43d7a6ea97b83f4b3f134ba9b03ecfe9f
parentFinish up most of Tools Reference; a few things remain... (diff)
downloaddevmanual-d7ca608adbe9add25cc6fec9bba362e24dd4a082.tar.gz
devmanual-d7ca608adbe9add25cc6fec9bba362e24dd4a082.tar.bz2
devmanual-d7ca608adbe9add25cc6fec9bba362e24dd4a082.zip
Add subsubsection.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@34 176d3534-300d-0410-8db8-84e73ed771c3
-rw-r--r--devbook.xsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/devbook.xsl b/devbook.xsl
index 2ac62b5..e639766 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -455,6 +455,21 @@
</xsl:variable>
<h3><a name="{$anchor}"><xsl:apply-templates select="title"/></a></h3>
+ <xsl:apply-templates select="(body|subsubsection)"/>
+
+ <!-- If you need, change here to add more nesting levels -->
+ </div>
+ </xsl:template>
+
+ <xsl:template match="subsubsection">
+ <div class="section">
+ <xsl:variable name="anchor">
+ <xsl:call-template name="convert-to-anchor">
+ <xsl:with-param name="data" select="title"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <h4><a name="{$anchor}"><xsl:apply-templates select="title"/></a></h4>
<xsl:apply-templates select="(body)"/>
<!-- If you need, change here to add more nesting levels -->