]> granicus.if.org Git - docbook-dsssl/commitdiff
Bug #418968: replaced body.attrs attribute-set with body.attributes template
authoruid48421 <uid48421>
Wed, 4 Jul 2001 16:17:43 +0000 (16:17 +0000)
committeruid48421 <uid48421>
Wed, 4 Jul 2001 16:17:43 +0000 (16:17 +0000)
xsl/html/chunk-common.xsl
xsl/html/docbook.xsl
xsl/html/param.xsl

index 41fefdbfd3348c17a6e293285d9e7644555732bd..94748d3a73f0f4e56ea827a03d682d95271aca4a 100644 (file)
@@ -908,7 +908,8 @@ its parent.
       <xsl:with-param name="next" select="$next"/>
     </xsl:call-template>
 
-    <body xsl:use-attribute-sets="body.attrs">
+    <body>
+      <xsl:call-template name="body.attributes"/>
       <xsl:call-template name="user.header.navigation"/>
 
       <xsl:call-template name="header.navigation">
index 54e335e3bce45908819df7b813b42232ac573c39..dc018e81a9bfc49e9ac76323c73593228453c8b0 100644 (file)
   <xsl:value-of select="."/>
 </xsl:template>
 
+<xsl:template name="body.attributes">
+  <xsl:attribute name="bgcolor">white</xsl:attribute>
+  <xsl:attribute name="text">black</xsl:attribute>
+  <xsl:attribute name="link">#0000FF</xsl:attribute>
+  <xsl:attribute name="vlink">#840084</xsl:attribute>
+  <xsl:attribute name="alink">#0000FF</xsl:attribute>
+</xsl:template>
+
 <xsl:template name="head.content">
   <xsl:param name="node" select="."/>
 
       <xsl:with-param name="node" select="$doc"/>
     </xsl:call-template>
   </head>
-  <body xsl:use-attribute-sets="body.attrs">
+  <body>
+    <xsl:call-template name="body.attributes"/>
     <xsl:call-template name="user.header.content">
       <xsl:with-param name="node" select="$doc"/>
     </xsl:call-template>
index d518ca606b9aeba63da1b815fdbbc35435041069..6da9ae5566b77897113cec73cf18e89a65d779d9 100644 (file)
@@ -511,24 +511,6 @@ more pleasing visual appearance in many browsers.
 </refdescription>
 </doc:param>
 
-<!-- ==================================================================== -->
-<xsl:attribute-set name="body.attrs">
-  <xsl:attribute name="bgcolor">white</xsl:attribute>
-  <xsl:attribute name="text">black</xsl:attribute>
-  <xsl:attribute name="link">#0000FF</xsl:attribute>
-  <xsl:attribute name="vlink">#840084</xsl:attribute>
-  <xsl:attribute name="alink">#0000FF</xsl:attribute>
-</xsl:attribute-set>
-
-<doc:attribute-set name="body.attrs" xmlns="">
-<refpurpose>Additional attributes for the HTML body tag</refpurpose>
-<refdescription>
-<para>The attributes defined by this attribute set are added to the
-HTML &lt;body&gt; tag.
-</para>
-</refdescription>
-</doc:attribute-set>
-
 <!-- ==================================================================== -->
 <xsl:param name="css.decoration" doc:type='boolean'>1</xsl:param>