From 2edc666c3b9fdeb900321647fbf4b95da2991e2e Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sun, 12 May 2002 11:22:15 +0000 Subject: [PATCH] Fix ugly prev/next bug introduced by my attempt to work around Xalan problems --- xsl/html/chunk.xsl | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/xsl/html/chunk.xsl b/xsl/html/chunk.xsl index af42e570e..2e0c49e4a 100644 --- a/xsl/html/chunk.xsl +++ b/xsl/html/chunk.xsl @@ -153,8 +153,9 @@ |ancestor::appendix[1] |ancestor::part[1] |ancestor::reference[1] - |ancestor::article[1])[last()] - |$prev-v1|$prev-v2"/> + |ancestor::article[1] + |$prev-v1 + |$prev-v2)[last()]"/> + |descendant::refentry[1] + |$next-v1 + |$next-v2)[1]"/> @@ -289,8 +291,9 @@ |ancestor::appendix[1] |ancestor::part[1] |ancestor::reference[1] - |ancestor::article[1])[last()] - |$prev-v1|$prev-v2"/> + |ancestor::article[1] + |$prev-v1 + |$prev-v2)[last()]"/> + |descendant::refentry[1] + |$next-v1 + |$next-v2)[1]"/> -- 2.40.0