Commit 0e4cc1fc authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Fix XSLT speedup with older upstream stylesheet versions

From: Alexander Law <exclusion@gmail.com>
parent 03951987
...@@ -122,7 +122,8 @@ ...@@ -122,7 +122,8 @@
<a> <a>
<xsl:apply-templates select="." mode="class.attribute"/> <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:attribute name="href">
<xsl:call-template name="href.target"> <xsl:call-template name="href.target">
<xsl:with-param name="object" select="$target[1]"/> <xsl:with-param name="object" select="$target[1]"/>
...@@ -146,7 +147,8 @@ ...@@ -146,7 +147,8 @@
<a> <a>
<xsl:apply-templates select="." mode="class.attribute"/> <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:attribute name="href">
<xsl:call-template name="href.target"> <xsl:call-template name="href.target">
<xsl:with-param name="object" select="$target[1]"/> <xsl:with-param name="object" select="$target[1]"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment