]> granicus.if.org Git - docbook-dsssl/commitdiff
Support headlink element
authorNorman Walsh <ndw@nwalsh.com>
Wed, 2 Oct 2002 12:12:09 +0000 (12:12 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 2 Oct 2002 12:12:09 +0000 (12:12 +0000)
website/xsl/autolayout.xsl
website/xsl/head.xsl

index 4cbb8b11bd8ac4f85d469035b6bf9b4d86067cab..b4a26c4157af69aeb440502cce887ac30b8dfcb0 100644 (file)
@@ -17,7 +17,7 @@
   <xsl:text>&#10;</xsl:text>
 </xsl:template>
 
-<xsl:template match="style|script|copyright|config">
+<xsl:template match="style|script|headlink|copyright|config">
   <xsl:apply-templates select="." mode="copy"/>
 </xsl:template>
 
index 566f6ec352570fc48f081958d6b678b50b7507ec..dc661d7fae89ba72b9e9b0b05502193e9004b2f6 100644 (file)
     </xsl:if>
 
     <xsl:apply-templates select="$autolayout/autolayout/style
-                                 |$autolayout/autolayout/script"
+                                 |$autolayout/autolayout/script
+                                 |$autolayout/autolayout/headlink"
                          mode="head.mode">
       <xsl:with-param name="webpage" select="ancestor::webpage"/>
     </xsl:apply-templates>
   </xsl:choose>
 </xsl:template>
 
+<xsl:template match="headlink" mode="head.mode">
+  <link>
+    <xsl:copy-of select="@*"/>
+  </link>
+</xsl:template>
+
 <xsl:template match="abstract" mode="head.mode">
   <!--nop-->
 </xsl:template>