From: Bob Stayton Date: Tue, 1 Oct 2002 05:06:27 +0000 (+0000) Subject: Changed section.level template to return a number that matches X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3620951b12c5ccdff2f65829b77f2d8e1d7c9b59;p=docbook-dsssl Changed section.level template to return a number that matches the section level (sect1 = 1, etc.), and changed other templates to compensate for the change, so the output should be the same as before. --- diff --git a/xsl/html/sections.xsl b/xsl/html/sections.xsl index d4f384e47..20782735d 100644 --- a/xsl/html/sections.xsl +++ b/xsl/html/sections.xsl @@ -251,10 +251,12 @@ - + + + title - + clear: both @@ -301,9 +303,9 @@ or local-name($container) = 'index' or local-name($container) = 'partintro' or local-name($container) = 'preface' - or local-name($container) = 'setindex'">2 + or local-name($container) = 'setindex'">1 - + - 2 + 1 - + + 2 3 @@ -334,12 +337,12 @@ 5 6 - + - +