]> granicus.if.org Git - docbook-dsssl/commitdiff
Add call to new 'root.attributes' placeholder template to allow
authorBob Stayton <bobs@sagehill.net>
Sat, 12 May 2012 23:11:47 +0000 (23:11 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 12 May 2012 23:11:47 +0000 (23:11 +0000)
adding attributes to the <html> output element.

xsl/html/docbook.xsl

index f663cf37990f68c63a3391248034b109d49f9274..109a33d9c7b280ff1f23f2a534e850f606a4e910 100644 (file)
@@ -343,6 +343,9 @@ body { background-image: url('</xsl:text>
 
 <xsl:template name="user.header.navigation">
   <xsl:param name="node" select="."/>
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:param name="nav.context"/>
 </xsl:template>
 
 <xsl:template name="user.header.content">
@@ -355,6 +358,9 @@ body { background-image: url('</xsl:text>
 
 <xsl:template name="user.footer.navigation">
   <xsl:param name="node" select="."/>
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:param name="nav.context"/>
 </xsl:template>
 
 <!-- To use the same stripped nodeset everywhere, it should
@@ -471,6 +477,7 @@ Used by docbook.xsl, chunk-code.xsl and chunkfast.xsl -->
   <xsl:call-template name="root.messages"/>
 
   <html>
+    <xsl:call-template name="root.attributes"/>
     <head>
       <xsl:call-template name="system.head.content">
         <xsl:with-param name="node" select="$doc"/>
@@ -499,6 +506,10 @@ Used by docbook.xsl, chunk-code.xsl and chunkfast.xsl -->
   <xsl:call-template name="generate.css.files"/>
 </xsl:template>
 
+<xsl:template name="root.attributes">
+  <!-- customize to add attributes to <html> element  -->
+</xsl:template>
+
 <xsl:template name="root.messages">
   <!-- redefine this any way you'd like to output messages -->
   <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->