summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2016-08-24 16:00:00 +0000
committerPeter Eisentraut2016-08-24 16:00:00 +0000
commit0e4cc1fc51c77b3af22d8ff7163565c5ba96f310 (patch)
treec0104c194697fae72be45c7a6e86449b1f7d611e
parent03951987283b99d5002227ab89f896bab772b7ec (diff)
doc: Fix XSLT speedup with older upstream stylesheet versions
From: Alexander Law <[email protected]>
-rw-r--r--doc/src/sgml/stylesheet-speedup-xhtml.xsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/stylesheet-speedup-xhtml.xsl b/doc/src/sgml/stylesheet-speedup-xhtml.xsl
index 8428dc58700..53c811cab02 100644
--- a/doc/src/sgml/stylesheet-speedup-xhtml.xsl
+++ b/doc/src/sgml/stylesheet-speedup-xhtml.xsl
@@ -122,7 +122,8 @@
<a>
<xsl:apply-templates select="." mode="class.attribute"/>
- <xsl:call-template name="id.attribute"/>
+<!-- Optimization for pgsql-docs: this call adds nothing but fails with docbook-xsl 1.76 -->
+<!-- <xsl:call-template name="id.attribute"/> -->
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$target[1]"/>
@@ -146,7 +147,8 @@
<a>
<xsl:apply-templates select="." mode="class.attribute"/>
- <xsl:call-template name="id.attribute"/>
+<!-- Optimization for pgsql-docs: this call adds nothing but fails with docbook-xsl 1.76 -->
+<!-- <xsl:call-template name="id.attribute"/> -->
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$target[1]"/>