cvs: php-gtk /docs/stylesheets/xsl/html class.xsl
| From: | James Moore | Date: | Mon, 26 Mar 2001 21:23:01 +0000 |
| Subject: | cvs: php-gtk /docs/stylesheets/xsl/html class.xsl | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1141@lists.php.net to get a copy of this message | ||
jmoore Mon Mar 26 13:23:01 2001 EDT
Modified files:
/php-gtk/docs/stylesheets/xsl/html class.xsl
Log:
Find correct prev and next links
Index: php-gtk/docs/stylesheets/xsl/html/class.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/class.xsl:1.11
php-gtk/docs/stylesheets/xsl/html/class.xsl:1.12
--- php-gtk/docs/stylesheets/xsl/html/class.xsl:1.11 Mon Mar 26 11:13:10 2001
+++ php-gtk/docs/stylesheets/xsl/html/class.xsl Mon Mar 26 13:23:01 2001
@@ -24,9 +24,68 @@
<xsl:param name="node"/>
<xsl:variable name="prev"
- select="(preceding::classentry|preceding::classset)[1]"/>
+ select="(preceding::book[1]
+ |preceding::preface[1]
+ |preceding::chapter[1]
+ |preceding::appendix[1]
+ |preceding::part[1]
+ |preceding::classset[1]
+ |preceding::classentry[1]
+ |preceding::reference[1]
+ |preceding::refentry[1]
+ |preceding::colophon[1]
+ |preceding::sect1[name(preceding-sibling::*[1]) = 'sect1'][1]
+ |preceding::section[name(preceding-sibling::*[1]) = 'section'
+ and name(parent::*) != 'section'][1]
+ |preceding::article[1]
+ |preceding::bibliography[1]
+ |preceding::glossary[1]
+ |preceding::index[1]
+ |preceding::setindex[1]
+ |ancestor::set
+ |ancestor::book[1]
+ |ancestor::preface[1]
+ |ancestor::chapter[1]
+ |ancestor::appendix[1]
+ |ancestor::part[1]
+ |ancestor::reference[1]
+ |ancestor::classset[1]
+ |ancestor::article[1])[last()]"/>
<xsl:variable name="next"
- select="(following::classentry|following::classset)[1]"/>
+ select="(following::book[1]
+ |following::preface[1]
+ |following::chapter[1]
+ |following::appendix[1]
+ |following::part[1]
+ |following::classset[1]
+ |following::classentry[1]
+ |following::reference[1]
+ |following::refentry[1]
+ |following::colophon[1]
+ |following::sect1[1]
+ |following::section[name(parent::*) != 'section'][1]
+ |following::bibliography[1]
+ |following::glossary[1]
+ |following::index[1]
+ |following::article[1]
+ |following::setindex[1]
+ |descendant::book[1]
+ |descendant::preface[1]
+ |descendant::chapter[1]
+ |descendant::appendix[1]
+ |descendant::article[1]
+ |descendant::bibliography[1]
+ |descendant::glossary[1]
+ |descendant::index[1]
+ |descendant::colophon[1]
+ |descendant::setindex[1]
+ |descendant::part[1]
+ |descendant::classset[1]
+ |descendant::classentry[1]
+ |descendant::reference[1]
+ |descendant::refentry[1]
+ |descendant::sect1[2]
+ |descendant::section[name(parent::*) != 'section'][2])[1]"/>
<xsl:variable name="ischunk">
<xsl:call-template name="chunk"/>
</xsl:variable>