[yelp-xsl] db2html-division: Add PI to suppress sectionlinks, #346397
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] db2html-division: Add PI to suppress sectionlinks, #346397
- Date: Sun, 19 Jun 2011 21:51:58 +0000 (UTC)
commit e9b8a6194354c9a61771c780a93f172e2c79a26f
Author: Shaun McCance <shaunm gnome org>
Date: Sun Jun 19 17:54:46 2011 -0400
db2html-division: Add PI to suppress sectionlinks, #346397
xslt/docbook/html/db2html-division.xsl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-division.xsl b/xslt/docbook/html/db2html-division.xsl
index c31eb84..005e7ab 100644
--- a/xslt/docbook/html/db2html-division.xsl
+++ b/xslt/docbook/html/db2html-division.xsl
@@ -229,7 +229,8 @@ REMARK: Talk about some of the parameters
</xsl:if>
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="$autotoc_depth != 0">
+ <xsl:if test="$autotoc_depth != 0 and
+ not($node/processing-instruction('db2html.no_sectionlinks'))">
<xsl:call-template name="db2html.autotoc">
<xsl:with-param name="node" select="$node"/>
<xsl:with-param name="title" select="true()"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]