]> granicus.if.org Git - docbook-dsssl/commitdiff
Suppress ID warnings if the .warnings parameter is 0
authorNorman Walsh <ndw@nwalsh.com>
Wed, 14 Dec 2005 11:50:56 +0000 (11:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 14 Dec 2005 11:50:56 +0000 (11:50 +0000)
xsl/html/html.xsl

index a32a632dede116189ceb1ef032157a0649380f42..ccd6976cb382572ca7b1cd48c080946528077b7e 100644 (file)
 </xsl:template>
 
 <xsl:template name="id.warning">
-  <xsl:if test="not(@id) and not(@xml:id) and parent::*">
+  <xsl:if test="$id.warnings != 0 and not(@id) and not(@xml:id) and parent::*">
     <xsl:variable name="title">
       <xsl:choose>
        <xsl:when test="title">