]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix ugly performance problem in footer.navigation (thanks again Guillaume du Bourguet)
authorNorman Walsh <ndw@nwalsh.com>
Mon, 15 Dec 2003 20:50:38 +0000 (20:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 15 Dec 2003 20:50:38 +0000 (20:50 +0000)
xsl/html/chunk-common.xsl

index 1e625845118001ec37f25805f41748d55e2492c9..367ecc310a379a4ef34ac992d5e56d5ce5ebfbfb 100644 (file)
                                     or count($next) &gt; 0"/>
 
   <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)
-                                    or ($home != . or $nav.context = 'toc')
+                                    or (generate-id($home) != generate-id(.)
+                                        or $nav.context = 'toc')
                                     or ($chunk.tocs.and.lots != 0
                                         and $nav.context != 'toc')
                                     or ($next and $navig.showtitles != 0)"/>