]> granicus.if.org Git - docbook-dsssl/commitdiff
DocBook V5.0 uses class="comment" for both XML/SGML comments
authorJirka Kosek <jirka@kosek.cz>
Thu, 20 Apr 2006 12:27:58 +0000 (12:27 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 20 Apr 2006 12:27:58 +0000 (12:27 +0000)
xsl/fo/inline.xsl
xsl/html/inline.xsl

index 917c72ae795d692c484664eff4e23233c5bf0fd9..11b4cb5464eb6231b253b092a7e0eff9efc49c90 100644 (file)
         </xsl:with-param>
       </xsl:call-template>
     </xsl:when>
-    <xsl:when test="$class='sgmlcomment'">
+    <xsl:when test="$class='sgmlcomment' or $class='comment'">
       <xsl:call-template name="inline.monoseq">
         <xsl:with-param name="content">
           <xsl:text>&lt;!--</xsl:text>
index dcefed831efb80dc6c1180ec11f20c229ee35979..06f5379444357be8f3dae61dcbe7548aa7d6d20f 100644 (file)
         <xsl:apply-templates/>
         <xsl:text>/&gt;</xsl:text>
       </xsl:when>
-      <xsl:when test="$class='sgmlcomment'">
+      <xsl:when test="$class='sgmlcomment' or $class='comment'">
         <xsl:text>&lt;!--</xsl:text>
         <xsl:apply-templates/>
         <xsl:text>--&gt;</xsl:text>