]> granicus.if.org Git - postgresql/commitdiff
doc: Fix XSLT speedup with older upstream stylesheet versions
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 24 Aug 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 24 Aug 2016 16:00:00 +0000 (12:00 -0400)
From: Alexander Law <exclusion@gmail.com>

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

index 8428dc5870040e1e99729a753a61af2cd07ba006..53c811cab021142436b48fc5521f1c6ee609323d 100644 (file)
 
       <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]"/>
 
       <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]"/>