From 6d1d2db6aca51ba5c7cf12b8e0495bcc1c0c2dca Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Fri, 5 Dec 2003 22:22:28 +0000 Subject: [PATCH] section.level now computes refentry sections relative to container element. --- xsl/common/common.xsl | 84 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 68 insertions(+), 16 deletions(-) diff --git a/xsl/common/common.xsl b/xsl/common/common.xsl index f3c604f75..be4b3f488 100644 --- a/xsl/common/common.xsl +++ b/xsl/common/common.xsl @@ -224,17 +224,14 @@ Defaults to the context node. 1 - 1 - 2 - 3 - - - 5 - 4 - 3 - 2 - 1 - + + + + @@ -298,6 +295,61 @@ Defaults to the context node. + + + + + + + + + + + + + 1 + 1 + 2 + 3 + + + 5 + 4 + 3 + 2 + 1 + + + + + + + + + + + + + + + + + + + + + + + 1 + + + @@ -919,14 +971,14 @@ recursive process. 0 - + and $object/ancestor::equation "> + 0 - + + and $object[not(@role) or @role!='tex']"> 1