summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Smith <bmsmith@src.gnome.org>2005-11-10 01:39:49 +0000
committerBrent Smith <bmsmith@src.gnome.org>2005-11-10 01:39:49 +0000
commit830a97f9a6b8b96e0b3d89ba66c2d15a0d73000c (patch)
treec582bb66f3658d2ec9136de0e08f59387265fda5
parentdbf199cfcca3f4dad95e697370144c37bf0b610b (diff)
downloadyelp-830a97f9a6b8b96e0b3d89ba66c2d15a0d73000c.tar.gz
Brent Smith <gnome@nextreality.net>
* stylesheets/toc2html.xsl: improve toc stylesheet performance.
-rw-r--r--ChangeLog5
-rw-r--r--stylesheets/toc2html.xsl2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 52476b3b..2e10636a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-09 Brent Smith <gnome@nextreality.net>
+
+ * stylesheets/toc2html.xsl:
+ improve toc stylesheet performance.
+
2005-11-09 Don Scorgie <dscorgie@cvs.gnome.org>
* src/yelp-window.c:
diff --git a/stylesheets/toc2html.xsl b/stylesheets/toc2html.xsl
index 2bf5bd6d..5f3bc0e0 100644
--- a/stylesheets/toc2html.xsl
+++ b/stylesheets/toc2html.xsl
@@ -109,7 +109,7 @@
</body>
</html>
</yelp:document>
- <xsl:apply-templates select="toc[.//doc]"/>
+ <xsl:apply-templates select="toc[.//doc[1]]"/>
</xsl:template>
<xsl:template mode="body.mode" match="toc">