]> granicus.if.org Git - docbook-dsssl/commitdiff
Output "Copyright" heading in XHTML too.
authorMauritz Jeanson <mj@johanneberg.com>
Sun, 19 Jul 2009 10:02:57 +0000 (10:02 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Sun, 19 Jul 2009 10:02:57 +0000 (10:02 +0000)
xsl/html/titlepage.xsl

index f648f3f54efe787c95c0f2d6208af36c614fb221..8378f796cdae14194b4e4c05fb2192e54ddd5b2d 100644 (file)
 <xsl:template match="copyright" mode="titlepage.mode">
 
   <xsl:if test="generate-id() = generate-id(//refentryinfo/copyright[1])
-      and $stylesheet.result.type = 'html'">
+      and ($stylesheet.result.type = 'html' or $stylesheet.result.type = 'xhtml')">
     <h2>Copyright</h2>
   </xsl:if>