Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0e4cc1f

Browse files
committed
doc: Fix XSLT speedup with older upstream stylesheet versions
From: Alexander Law <exclusion@gmail.com>
1 parent 0395198 commit 0e4cc1f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/stylesheet-speedup-xhtml.xsl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@
122122

123123
<a>
124124
<xsl:apply-templates select="." mode="class.attribute"/>
125-
<xsl:call-template name="id.attribute"/>
125+
<!-- Optimization for pgsql-docs: this call adds nothing but fails with docbook-xsl 1.76 -->
126+
<!-- <xsl:call-template name="id.attribute"/> -->
126127
<xsl:attribute name="href">
127128
<xsl:call-template name="href.target">
128129
<xsl:with-param name="object" select="$target[1]"/>
@@ -146,7 +147,8 @@
146147

147148
<a>
148149
<xsl:apply-templates select="." mode="class.attribute"/>
149-
<xsl:call-template name="id.attribute"/>
150+
<!-- Optimization for pgsql-docs: this call adds nothing but fails with docbook-xsl 1.76 -->
151+
<!-- <xsl:call-template name="id.attribute"/> -->
150152
<xsl:attribute name="href">
151153
<xsl:call-template name="href.target">
152154
<xsl:with-param name="object" select="$target[1]"/>

0 commit comments

Comments
 (0)