From: Norman Walsh Date: Sat, 19 Oct 2002 19:00:14 +0000 (+0000) Subject: Support output of language attribute X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14258260d0423574064781a7454ad15c6f95a8d2;p=docbook-dsssl Support output of language attribute --- diff --git a/xsl/common/l10n.xsl b/xsl/common/l10n.xsl index f778339ef..fb2a37ab5 100644 --- a/xsl/common/l10n.xsl +++ b/xsl/common/l10n.xsl @@ -34,7 +34,7 @@ select="($target/ancestor-or-self::*[@lang] |$target/ancestor-or-self::*[@xml:lang])[last()]"/> + select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/> @@ -51,7 +51,7 @@ select="(ancestor-or-self::*[@lang] |ancestor-or-self::*[@xml:lang])[last()]"/> + select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/> @@ -106,6 +106,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/html/block.xsl b/xsl/html/block.xsl index b4787bb22..3b1cf5efb 100644 --- a/xsl/html/block.xsl +++ b/xsl/html/block.xsl @@ -123,35 +123,40 @@ - - - - - - - - - - - - - -
  - -  
- -- - -  
-
- -
- -
-
-
+
+ + + + + + + + + + + + + + + + + +
  + +  
+ -- + +  
+
+ +
+ +
+
+
+
diff --git a/xsl/html/component.xsl b/xsl/html/component.xsl index 433841a95..b508650f1 100644 --- a/xsl/html/component.xsl +++ b/xsl/html/component.xsl @@ -54,6 +54,7 @@
+ @@ -81,6 +82,7 @@
+ @@ -102,6 +104,7 @@
+ @@ -151,6 +154,7 @@
+ @@ -203,6 +207,7 @@
+ @@ -336,6 +341,7 @@
+ diff --git a/xsl/html/division.xsl b/xsl/html/division.xsl index a25f38bb2..a61363ff1 100644 --- a/xsl/html/division.xsl +++ b/xsl/html/division.xsl @@ -16,6 +16,7 @@
+ @@ -48,6 +49,7 @@
+ @@ -82,6 +84,7 @@
+ @@ -118,6 +121,7 @@
+ diff --git a/xsl/html/refentry.xsl b/xsl/html/refentry.xsl index ba52a8641..242ac509c 100644 --- a/xsl/html/refentry.xsl +++ b/xsl/html/refentry.xsl @@ -16,6 +16,7 @@
+ @@ -70,6 +71,7 @@
+

@@ -200,7 +202,11 @@ - +
+ + + +
diff --git a/xsl/html/sections.xsl b/xsl/html/sections.xsl index a280917d3..472f2a2c8 100644 --- a/xsl/html/sections.xsl +++ b/xsl/html/sections.xsl @@ -18,6 +18,7 @@
+ @@ -71,6 +72,7 @@
+ @@ -97,6 +99,7 @@
+ @@ -122,6 +125,7 @@
+ @@ -147,6 +151,7 @@
+ @@ -172,6 +177,7 @@
+ @@ -197,6 +203,7 @@
+